Laptop keeps restarting

Hello!
I have a toshiba laptop that keeps restarting every few minutes. I get as far as logging in and opening windows before it restarts, sometimes as soon as I put in my password it restarts. this has been going on for about two days and I’m not sure what to do anymore.
any advice or tips on what to do?
thanks!
 
Back