Start up the pc when the power is present

Hi everyone, I would like to know what is the configuration for every time that the pc receives power incoming the windows will start.