<human>: I'm rather new to sex as a 23 year old guy. I lost my virginity at 18. To be clear, I was not raped or anything of that nature, but some stuff happened that left some psychological scars in me when it came to sex, so I blocked sex out of my life. 

Relationships came and relationships failed due to this attitude. I was a miserable, lonely, and sexually frustrated person until I started therapy and met my current girlfriend. 

Through them, I've come to understand a lot about myself and how I relate to sex. I think that I've progressed pretty well in "getting back in the game."

My girlfriend and I have sex pretty regularly, as much as our schedules allow anyway. She is wonderful, very understanding, and accommodates my kinks. I couldn't ask for anything more from her. 

I still have issues though. Sometimes I will panic and I'll lose my erection, or on a few occasions, I'll just kind of shut down. I'll pull out and, I don't know. Shut down. Curl up in a ball and have a mini-panic attack. My girlfriend understands and tells me she's proud of how far I've progressed and that we will keep working on it. 

It just feels shitty to be making progress but still be held back. I want to have a healthy sex life but I'm scared that may never be the case. 

She loves me and I love her and I want everything for us. I feel I am bad at sex and my nerves get the best of me in bed more often than not. Moving forward, I just want to make sure I'm doing everything in my power to make progress and strive towards our mutual satisfaction.

Condense the text into a few key points
<bot>: I struggle with sex on a psychological level, sometimes disrupting or preventing sex altogether. Girlfriend is very understanding, but I am still frustrated. Any advice for being a good partner to her while I work through my issues is welcome.