keep (yourself) from something
— phrasal verb with keep us/kip/verb past tense and past participle kept /kept/
(PREVENT YOURSELF)
to prevent yourself from doing something:
We couldn’t keep from laughing.
He couldn't keep himself from grinning at Mrs. Crackitt.