Ask him nicely to stop one time, if he doesn't, knock the crap out of him. Your girlfriend should discourage this behavior as well.