Thank you for your question, and the first thing I want to say is to stop worrying, cause tension and worry will worsen your situation even more. And as you have mentioned that you get erection at times and at other don’t, that is a symptom of erectile Dysfunction. I would suggest that if you take sports supplements please stop consuming them immediately. Also if you smoke, completely avoid it as smoking causes arterial narrowing and is main cause of erectile dysfunction.