Hi there ~
You have a very common problem of erectile dysfunction
and / or premature ejaculation
and it can be easily treated with medications available during this time. The class of medication is called phosphodiesterase 5 inhibitors (PDE5Inh) selective serotonin reuptake inhibitors and it also helps with decreased libido which is a result of depression
if you are going through one. I advise you to consult with a qualified psychiatrist
who might be able to help in this regard. I hope this helps. You may also need to consult a sexologist
if despite your taking the above medications it is not helping. It will help you look into the psychological aspects of sexual activity as it relates to you.
Take care and have a lovely day!