It sounds like a cyst within the skin. Next time you see a doctor, get a definite diagnosis, so you can forget about it. If your regular doctor is unsure, a dermatologist or urologist should help. Surgery is almost certainly unnecessary.
Best.
Dr. Rockoff