This sounds like irritation from friction. Fir that to go away takes not just abstinence but time. Please do yourself a favor and show this to a doctor who can make a definitive diagnosis. Meantime, moisturizing with an antibiotic ointment like bacitracin or neosporin would be best.
Best.
Dr. Rockoff