first time crash then fine

My computer has recently been playing up, when I load up ANY game for the first time it plays for about 5 minutes and then crashes. Once closed and reopened it runs fine forever. This is a growing problem for me as I worry about alot of things and i'm hoping someone has an answer for it.