Wierd endocrinologist visit

So I, 17ftm, go to endocrinologists regularly not because of hrt (yet) but other stuff. And ... fucking hell i cant beat this wuerd memory out of my head.. Around 6-7 years ago, I went to the endo for a checkup .. so I was on the exam bed thing, my mom was in the room the whole time.. and the woman was just routinely checking stomach, thyroid ultrasound, and all of a sudden she's like pull your pants down.. I was 10 i didn't thing much of it so I did it ... and she puts on gloves, spreads my legs and puts fingers on my downstairs parts, looks, spreads, puts a finger in ... and then she's like okay .. and that was that.. an hour or so after the "exam", after the blood test another doctor just like wants to know if I have any hair under my arms/between legs.. but she goes about it very nicely.. asked if she can just take a peak ... and that's that.. And ever since, every year, every visit to the same place, I haven't had this happen.. just the once .. and that made me very soo terrified of doctors, exams,.. sexual stuff... and just generally I feel like that traumatized me. ..