Tea tree oil derived from the melaleuca tree is used as a topical antiseptic for bacterial and fungal infections.
I can't tell you if its effective or not. It's also used as a substitute for tea. There are in expensive effective otc antibacterial and antifungal creams
& ointments that can be used just as easily and that are known to be effective.