Male sexual problems
There could be different treatments depending upon the medical condition that may underlie either of these problems.
First thing to do is to get a medical evaluation. There are so many men suffering from this, and have shame and fear for something they can't help. Just the number of questions about these problems on health tap confirms how widespread this is. Please have compassion for yourself.