How to stop your baby from doing karate moves

He sits, goes front into tummy (sometimes hitting his head in the process😂) rolls onto his back, pulls up, sits back back up just to re-do it all over again. I am like little fella! Stop bumping your head!