Do you masturbate with lubricant or not? I could be what people commonly refer to as "chaffing". Just a minor skin irritation from dry masturbation. Try using a water based lubricant. If the problem continues, spreads, becomes painful or uncomfortable, try talking to a doctor.
In the meantime, try using a moisturizing lotion as well. It could just be dry skin.