Home remedies for removing fungus?

Is there any way to remove fungus and ways to keep away this from happening?