Advice please

Stephanie

So I’m having a Hysterosalpingogram on Wednesday basically dye put into my fallopians tubes to make sure there’s no blockages they said after my period finishes to make sure I use protection so there’s no chance of pregnancy however my partner said isn’t that the point we’re trying to get pregnant and we’re potentially loosing the chance I see it from both ways I just don’t know any advice