If you find it very embarrasing you can usually distract your dog with a toy or some fun activity.
Maddy has one particular large stuffed dog she humps. I thought it would stop when she was spayed. But she was humping two days after the spay!
Pam