How do you treat chafing?

I've been working up the courage to ask this all day but I'm finally at the point where I'm uncomfortable enough to do it: what do you do to treat chafing?

I've never had it this bad in my groin before. I have an active job and can usually fix it by wearing loose boxers or going commando but this time the chafing is right at the base where it meets the factory. They like to stay connected.

Short of pinning it up and flying free to air it out which is generally frowned upon at work, I don't know what to do. Could anyone give me any tips?