Tea tree essential oil is an antifungal and antibacterial solution that can treat scalp infections. Mix it with carrier oils, such as coconut or olive oil, and apply it to the infected area 3–4 times a day.