When I'm playing on servers or solo games after a while my game freezes and minimizes (the game keeps running) but it doesn't let me open it and I end up closing it, plis can someone please tell me what to do?

ElJesushot
@ElJesushot
When I'm playing on servers or solo games after a while my game freezes and minimizes (the game keeps running) but it doesn't let me open it and I end up closing it, plis can someone please tell me what to do?