Erection problem

Patient: I am 17 years old and have been having erection problems in the past few months. I have a girlfriend and we have tried having sex but i am not hard enough with or without a condom. When i get hard, it lasts aboout 10 seconds.I dont know what causes it as i am rather sporty and play a lot of football, i walk at least an hour a day.