Prevention is better than cure.

If you want to stop staining, then you need a barrier layer between you and the kilt. Some kilt wearers are desperate not to wear underwear at any cost. If you are one of those - fair enough. But you should then wear some form of shirt tucked in.

Otherwise this is going to be a recurring problem on a regular basis.

Regards

Chas