Help please.

How do you handle a child that keeps humping and putting there hands down there pants. Help please!!!!!!