Yeast infection or pad burn

Yeast infection or pad burn? How do you prevent it? How to tell the difference?