Erectile dysfunction can be caused by many disorders. It can be caused by medications, psychological factors or physical factors.