The root cause of any of those infections is the same, its an fungal infection caused by the candida fungus. It is not a bacterial infection.
Accordingly, treatments for
For example, oral
Your doctor might describe antifungal mouthwash or lozenges. In case they wont do the job he might prescribe other medication.