Gynecologist fears after being raped

I really feel stuck. I’m really upset, I care a lot about getting to the bottom of years and years worth of period pain and other symptoms of Endometriosis. My doctor is convinced i have it but wants to do a transvaginal scan. I’m terrified. I felt like I had recovered from the trauma of being raped but it all cane flooding back when I thought of someone poking around my vagina and inserting something in there. I know as a woman I’m expected to have annual check ups and such but I just don’t know how to cope. I had a panic attack just thinking about the appointment. Something about someone touching my private parts while I’m not sexually aroused and wanting makes me relive the feeling of being raped. I feel like everyone I talk to is acting like I’m a huge baby for not just making the appointment, including my doctor... :(