Open Question: problems with erection?

Im 18 years old and i was away from my girlfriend for a while and i masturbated pretty often and now when I try to have sex with her I have trouble getting an erection and when i do its very weak and then i have discomfort in my lower abdomen and now i don't even get morning wood and i never get hard. Is this serious or temporary? what can I do