Computer Crashes and I get suspended from Comp

My PC is old (about 5 or 6 years rip) and i don’t have enough money to buy a new one, but it’s only done it a few times and now i have an 8 hour ban. Is there anyway I could fix my PC/help it not crash as much?

This guide might help you with settings appropriate for your system: