I am 22 .last wesnesday i was masturbating some white foam came against my penis and after masturbating .my penis foreskin became swollen .i got afraid something happened to me.later then swelling decreases.After tat swelling my erection is not tht much hard and i didnt get proper ercetion after that.i was thinking abt this all day.today sunday morninh i made up my mood and started masturbating. But i couldnt able to masturbate completely because ercetion came down. I was tryinh to make it erect but i couldnt able to make my penis erect. Can anyome temme the solution for this erection prob? .i feel worried about this.please help me out .should i consult a doctor ??