Can you post a picture please?

Some fungi can be treated with a topical ointment...others go too deep and are more invasive so you really should see a vet and have it tested to see what it is.

If you treat in with an ointment and its the kind that is invasive then you won't cure it.