1. in the bios you can Wake on LAN under the power settings. Some manufacturers already activate this by default.
2. your network card must support Wake on LAN. If this is the case you have to activate in the device manager under your network card at "Akt.über Magic Packet".
This feature may also be called "PME" for other manufacturers.
ℹ If you can't find any settings for WOL under your network card in Device Manager, you can try updating your current driver.