Inconsistent sex

Hi 25 pretty active male. Had a girlfriend for 2 years but in the past 7 months ran in to some real erection issues. When we have sex consistently and for a few days straight my confidence is high and there is no issues. However, as soon as there’s a break from seeing each other naturally with work etc maybe a week or 2 I struggle to get it up as I know the pressure is there and really struggle to deal with the pressure. I don’t feel confident going into sexual encounters and it’s so demoralising and borderline depressing when it doesn’t happen even though I know I am capable. I am really thinking about meditation but concerned that once I start that it could be difficult to stop. It’s the inconsistency of sex that is so frustrating. Struggle to get arroused. My girlfriend is amazing and is supportive but I know subconsciously it takes it toll. I manage to get erection when we are playful touching but when jt comes to the action it’s like I just freeze and don’t fully believe that we will have sex. Crazy I know.

Any help, advice of general feedback would be very much appreciated.

Cheers