There are many otc anti-fungals and anti-fungal shampoo.
Ask your pharmacist for a recommendation. If no positive response within a reasonable amount of time. Some times fungal infections of th scalp requrie specific oral medication over a prolonged period of time if the infestation has been there a while and deeply imbedded. So see your doctor at that point.