Thanks for writing to health care magic.
is not harmful.
I reassure you that it is not going to effect your sexual life.
Do not get depressed.
Psychological problems like depression
will effect sexual life.
Pain in penis could be because of various causes like infection, trauma etc. A physical examination by your doctor will help in diagnosis.
Hope I answered your query.