I’ve posted a few things on the subject on the forum, but basically we get them from the foods we eat. Everyone has them, just at different levels. There is no way to completely kill them off (like candida), just reduce their numbers.
You kill them by starving them and using specific antifungals. Probiotics and prebiotics also help kill them. Basically its the same weapons.
Did you see some in your stool?