1) make sure the person is aware that you are not into it 2) try and get some sort of proof 3) try and get out of that situation as fast as possible 4) get help asap
Indicate CLEARLY that you are uncomfortable with the behaviour. Say NO effectively and emphatically. It is more important to be firm than polite. If you are more comfortable not speaking to the perpetrator face to face, send an SMS or email. This message and the perpetrator’s reply may also be used as evidence.
Collect evidence – Start a log and note down dates, times, places and who was present at the time of the incidents and give detailed accounts of the unwelcomed sexual behaviour.
Keep any email or SMS correspondence with the harasser as evidence. Taped evidence is also useful.
Alert or inform someone whom you trust at the workplace of the harassment. Talk to friends or family members that you trust about the incident. Even if they were not present at the harassment scene, they may be able to support your case as witnesses.
Simpler terms: Mkae sure you have said no, collect any possible evidence, Keep an email log with him/her as evidence, tell someome
For more: https://www.aware.org.sg/training/wsh-site/6-what-to-do/