to be going to get into trouble or be punished
We'd better hurry or we'll be in for it.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition