Hardware - almost certainly:
1. Heat could be one problem.
a) Make sure your computer is reasonably well ventilated (not in some hot closet).
b) Open the cover and vacuum out any accumulated dust ("blow your
computer out".
It's actually very important to do this every 6 months to a year, depending
on how much dust you have in your environment.
c) Consider buying a new, better fan for your PC case.
d) Consider buying a fan or cooler for your CPU.
2. Your motherboard might be going.
Find out what model/manufacturer your motherboard and BIOS is, and look for "beep
codes" on their respective web pages.
For example:
http://www.tyan.com/support/html/f_s1590.html
http://www.webopedia.com/quick_ref/BiosBeepCodes2.asp