to be going to get into trouble or be punished
We'd better hurry or we'll be in for it.
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición