Yellow discharge from the anal region is 90%+ of the time secretion from the rash itself and not bowel discarge as you may be thinking, hence your anxiety.
I usually recommend Cavilon by 3M, it is a cream which reduces the swelling, clears rash and stops the itching.
you might have warts seek medical advice ASAP