no maybe your under a lot of stress, and stress effects your preformance , or you could have another health issue like erectile dysfunction if the problem persist get it checked out
something may be going on, I would recommend going to the doctor about it. I know it will be embarrassing, but if the problem keeps going on, you may just need to go. Best wishes