In some people it could be caused by bodily factors, while in others impotence is caused by stress and other factors of the kind, however whatever the reason you initially have to see your medical provider that will be able to advise you on that matter.