Sex ptsd

Ok ladies... I need some help.

I’ve been married for about a year and a half now to the best guy ever. We’re high school sweet hearts and I can’t imagine my life without him.

My problem is this, when we got married and started having sex it was incredibly painful. Not just your typical first time pain. It lasted for months every time we had sex and I was stupid enough not to get it checked out. We had amazing sex in high school but both agreed that we wanted to wait till we got married to do anything again. When I finally got it checked out I found out i had an incredibly bad reoccurring yeast infection that was causing the pain during sex. When I finally got it under control and was able to be intimate with my husband again, I couldn’t... it’s like there’s this barrier up in my mind now saying that sex with him is extremely painful and that I HAVE to shut it down. I talked to my Gyno about it and she said it could be ptsd from the painful sex we were having. My husband has been so patient and supportive through this but I still can’t move past it. Though we’ve had sex a few times since it’s been figured out and it’s been amazing, there’s still this incredibly strong mental block telling me to turn him down. We’re a newly married couple and we hardly ever have sex. Sometimes going months without it all because my mind tells me no. Everyone including my doctor tells me to just push through it and make myself be intimate with him but I can’t. It makes me physically and mentally upset. I feel so alone because i have nobody to talk to that would understand what I’m going through... I don’t want anybody to have to understand what I’m going through but I need help... what do I do? I can’t force myself to do something my mind is telling me is wrong. We’ve tried baby steps of just starting over but even that’s hard for me. Please.. any advice will be welcomed. I don’t know what to do anymore... I feel like I’ve failed as a wife..