Try to talk to him into stopping. Make sure you do it where you feel safe and can easily shout for help. If possible, get someone you trust and who you knoa has your back to be there secretly watching you. Agree on a signal or something in case you need help.
If he doesn't stop, tell your HR.
You deserve to work on a place that makes you feel safe and comfortable. That's what a good company would aim to be.