Suggestions on coping with person after few failed attempts?

Hello Everyone, I would like to know experiences and positive suggestions on how to deal with post failure situations with a partner. If you have few failed attempts to penetrate, the mental state and confidence go down.

Overthinking also starts where we try to figure out the reasons why and what wrong and it starts weighing heavy on our head and make us negative. Also, the next time your inner feelings or experience reminds past failure and you start losing interest in your partner.

Please help and suggest what can be done to enjoy sex every-time like its first time and become pleasurable despite some failed attempts.

Iโ€™m still recovering from PED and Deathgrip.
I got real good at foreplay, oral and fingering her to O. Iโ€™ve also added a couple vibe toys to our playtime. She loves them! If I get her off a few times, that takes the pressure off me and my dick to perform.
I cheat a little with Rugiet.
At first my head would not let the meds workโ€ฆ
Using this app, reading all the forum topics has really helped me understand my issues and how to counteract them. I also have learned not to panic when I go soft. I try to take a breath, relax and then simply rub it on her. She loves it. Sheโ€™s also cum from just thatโ€ฆ I was hooked on porn for a long time so Iโ€™m very visual. I focus on her sexy parts. I listen to her moans and reactions to my touch or thrusts.
She knows I love her being vocal. It really turns me on to watch her play with herself while Iโ€™m in her with her fingers or a toyโ€ฆ all of this helps me get out of my head and get back on track.

I can relate to that, I have recently started a new relationship after being widowed for 3 years, and have failed to get a proper erection every time, and the more I think about it the worse it gets