There are two forms of sexual harassment:
Quid pro quo or this for that, occurs when some kind of sexual act is asked for or required in exchange for something else.
Hostile work environment is persistent dirty jokes or offensive comments.
First find something you can use in that situation. Think of about at least three ideas, and be ready to think on your feet. If you try something out and it doesn't work you have not made the situation any worse. You can try something else. And something else after that.
1. Clearly communicate your desire for the behavior to stop.
2. Do all you can to make a record of the instances.
3. Get emotional support from friends, family, or a therapist.
4. Seek resolution and put complaints on record through whatever channels are available to you, such as the State Appeals Board.