Report to the police
If it is a case of revenge p0rn, you should report to the police so that they can take action. He should not share your private pix on the internet because you broke up with him. If he does, report to the police. Don’t say you will leave him in the hands of God because he will be revel and grin in what he has done.
It is very difficult to accept such a thing but you have no choice than to. Learn from it and move on. It was a mistake. Anyone who loves you will accept you for who you are.
See a psychologist
See a psychologist who can take you through the process of psychotherapy to help you overcome the incident. This is one of the best ways to recover from the incident.