An acronym. Short for "itching my head," it is appropriately used in times of confusion or wonder. Or if you have dandruff...
Casey: I don't get trigonometry at all... IMH
Paige: What should I make for dinner tonight? IMH
Hunter: Ugh! I guess I'll have to go back to using Head & Shoulders! IMH