Hsg and birth control😓😓😓😓

I’ve been trying to have a kid for 2 years I finished my 3 rd round of femera and now I’m being scheduled for a HSG my doctor prescribed me to take birth control day 2 of this cycle so I could be ready for the test. It really bothers me going back on birth control even tho I have pcos I feel like me being on birth control in highschool is partly to blame for my infertility . Today was my first day taking it :( anyone else had to do this?