Ok I'm sorry that something happened to you, it is horrible and no one should have to live through it. This does leave some pretty major scars on your long term life. I can not speak for you because I'm not you. But in my experience it doesn't get much better. It has been four years for me and I still flinch when people touch me. It does get a bit easier to handle though, the fear I feel has gone down so much in these last few years. Still when something catches me when I'm not expecting it I start to have a panic attack. Like the other person said setting clear boundaries is helpful. It can help you feel safe around males. Really what I've found to help the most is, explaining what makes you uncomfortable to other people and trying to build up your trust of other people (easier said then done I know).
Not trying to pressure to, however if you wanna talk send me a pm and I'll try to help as much as I can.