In my experience, once they've had ringworm they are usually free of it for 2-3 years before it hits again. Unfortunately, once it's manifested itself on a property it is virtually impossible to erradicate fully. You can get anti-fungal preparations to disinfect tack, rugs and other equipment and to scrub down the stable but it's virtually impossible to deal with all the trees, fences etc that the animals like to rub against.
Incidentally, it isn't true that humans can't get ringworm from horses - I did when the WH got it. I was very careful about hand washing but must have touched my forehead without thinking so be warned