Computer seems to turn on but no monitor mouse or keyboard connection

flooosh

Distinguished
Feb 15, 2011
49
0
18,530
my computer randomly today doesnt work i turn it on and the lights and fans go(the fans sound louder than normal they sound loud for a second usually but then quiet) but themonitor keyboard and mouse dont work the monitor says no signal. i tried taking out the ram and putting them back but that didn't change anything.i tried seeing what happens when i turn it on without ram the fans didn't go but the lights were on and it made 1long beep and shut off after a couple seconds then it restarts itself and the fans go on this time with the light but no beep. any idea what the problem is and how to fix any help would be sweet!