chafing

how can I treat chafing? My underwear is rubbing against my inner thigh and it’s looks really bad.