I can’t screen record

When I start screen recording after like 3 mins it stops working a I have to restart everything is there a solution to this screen recording not working and I need to start to rec soon

If there is pls get back to me

:]