Hi fahad_aquarius,
You have Windows 8, so you can try running the built in troubleshooter.
Press the Windows key + C to open the charms
Type in troubleshoot shutdown and follow the on screen selections
You can do the same for the restart issue, instead of typing troubleshoot shutdown. type troubleshoot restart and hit enter. Then follow the on screen options. You could also try a Windows restore back to a known good time. Using Microsoft System Restore (Windows 8). If none of this has helped then restoring the bios is the last option.