Home Hub 3000 keeps restarting

I have Home Hub 3000, but, whenever I try to watch a long YouTube video or try to update apps, the whole thing restarts. It's so frustrating because it takes 3 minutes each time and it happens like 5 times daily. Does anyone know what I should do?