Chosen Solution

the other night i lost power when it was restored my computer stopped working.is is repairable

It might be and then again it might not… You’ll need to start off replacing the power supply to see if it was the only part damaged. Sometimes a surge can damage a logic board as well as the drives. The other direction would be just to get a new system (new or used) and then take your drive out of your old system to recover your stuff using a SATA to USB universal adapter to copy off your stuff.