It's probably folliculitis (blocked pores) from shaving, friction, etc. My advice is to apply bacitracin (over the counter) daily, and be very gentle with the area--don't squeeze, pick, rub, or closely examine it. If it doesn't go away in a week, or if it keep coming back, show a doctor, but I bet you won't have to.
Best.
Dr. Rockoff