Afraid of the IUD

So I’m getting an IUD put in in a couple weeks and I’m absolutely terrified. The first time I went to an OBGYN I needed to get an exam done because one of my ovaries is constantly inflamed. I got up on the table and had a mental breakdown. I cried so much and the doctor was so rude to me and I wound up leaving without getting it done. I at this time, was still a virgin. Now I’m not but I’m still hella afraid. What exactly does an exam consist of? How painful is it?