Experiencing sounds coming from my CPU

Guys is anyone here knows why my computer doesn't open properly in the start up? And there's a sounds coming from my CPU. When I finally opened my computer,after 10-15mins. it will automatically shutdown.
This is my first time I encountered it. It makes me so shock, when I here that long (toot) sounds So I just unplugged the cord. My friend told me to try to system restore my computer.
I don't have any idea how to do that and I'm afraid to fix it. My friend is too busy on his job, he doesn't have any time to go to my house to help me. Anyone here can please help me? Is it right that doing system restore is the solution for this? Or anything else that you know will surely fix bluescreen?.. Hope to hear from you guys, thanks in advance.
