If there is any pattern to the beeping and you know your BIOS type here is a diagnostic chart:
http://www.computerhope.com/beep.htm
If it is a manufactured computer such as Dell there are also diagnostic LEDs on the case.
The three main suspects for what you describe are: 1) RAM 2) CPU 3) Graphics card.
First off try reseating the RAM and use only one stick if you have more than one.
If things are the same try another stick. Or other slots.
If nothing changes see if you can feel any heat coming off the CPU. Also check that the fan is running.
You can also try reseating the graphics card and also resetting the CMOS might help.