Worried just been told I need IVF & horrid dye tests

Just got results of partners sperm test and there are swimmers but they are not the best and our chances are slim after 6mths of trying and nothing happening that we will convince naturally.
They are recommending <a href="https://glowing.com/glow-fertility-program">IVF</a> and I am terrified. I didn't want it to come to this I am aged 39 and feel I've left it too late and they've said we only get one shot on Nhs in this area.
My main concern is I have a phobia about hospital tests and they want to check my tubes first with a dye test which is invasive I have to be legs a kimbo, speculum inside and xrayed in that position whilst they put dye in me. Could make m feel ill or be uncomfy and I am not sure I can even go through with it but she said if you can't cope with that you won't be able to cope with <a href="https://glowing.com/glow-fertility-program">IVF</a> so best to check that out first.
If they don't let my other half in the room with me I might have a panic attack and bolt and she said doubtful they will let him as it's an X-ray and radiation risks.
I can choose when to book as it has to be certain point in cycle . We are currently at the start of moving house just buying one so enough stress at the moment but I don't have a lot time coz of my age. Free <a href="https://glowing.com/glow-fertility-program">IVF</a> cut off after 40/41.
I never wanted it to get to <a href="https://glowing.com/glow-fertility-program">IVF</a> stage I'm not even sure if that really means it is not meant to be and I should not tamper with nature or that one chance is so low that if I can't afford more cycles it ain't worth trying one (can't afford house move and <a href="https://glowing.com/glow-fertility-program">IVF</a>) the house we are moving to is with children in mind.
Feeling really down.