Default Bricked ? Samsung galaxy s plus

Hi guys, i need your help. I bought samsung galaxy s plus. I was trying to install Cyanogenmod 10, and i did but everything was fine for 10 minutes. Phone turned off himself, and after that i can`t launch him now. I went back on the stock rom but he didn`t launch either, it has stopped on that screen before pin screen. I have repeated installing Cyanogenmod, and once again everything was fine for something like 10 minutes. Have you got any solutions ?