When you have trouble achieving or maintaining an erection with a partner, it can be embarrassing – especially if it is happening for the first time. When something like this happens, it is easy to close yourself off and wallow in your worry and self-pity.