Gently clean the chafed area with water and dry it thoroughly. Put petroleum jelly on the area. If it's very painful, swollen, bleeding, or crusted, your doctor may recommend a medicated ointment.
Give your skin some time to heal from chafing before being active again. If it doesn't get better, make an appointment to see your doctor. You may need an antibiotic ointment if the area gets infected.