This is a tough situation, and people react very differently. Some believe the best move is to expose the person publicly and warn others. Others say you should stay quiet, document everything, and handle it only through legal channels. Which approach do you think is smarter—and why? Please share your reasoning (and what risks you see in the approach you didn’t choose).
I would go the legal route. To go the public option may lead to further legal issues for myself as that is sometimes how the tables get turned by some dumb mistake. The other person will continue to harass and bully if only lashing out at them in a public matter.
By going the legal way, the person harassing you will be legaling bound to stop. I wont stoop to the level of the bully by responding back to them in the same public manner.
Finally, the person bullying will be exposed publicly ultimately anyway. And it wont be from your mouth but others.
I will expose publicly when perhaps I have tried cautioning the person and the person continues in the act.
Also to call for awareness, attention and opinions to the issue.
Secondly I will go public for the sake of those who may be going through same ordeal and do not know how to handle it. so they learn or have an idea from my experience.
I will also go legal with my evidences because going public alone may not solve the issue the way I would want it solved to give me due justice.
All very good thoughts. The only thing I caution about the public portion is that the other person might try to retort with a false accusation or stretched truths. At the end of the day, you know what happened and those who are close to you know. Unless it saves someone else the time and effort, it is just a personal perspective that is not back by the judicial system for validation.

I will not only expose publicly for the sake of others who may be going through same and do not know how to handle it, so they learn or have an idea from my experience.
I will also go legal with my evidences because fighting publicly alone won’t thoroughly or may not solve the issue the way I would want it solved to give me justice.