Follow These Step Below....
- Navigate to the Control Panel
- If you are using Category mode then change to Small icons (see picture below)

- Balanced (Recommended) should be selected by default. Click Change plan settings (as per the picture above)

- Click the drop down box next to Put the computer to sleep and select your desired option. I personally set my computer to Never