Emily, if you're getting wild-caught fish, or fish from the same place which supplied you with the other infested fish, then you would be best off having wormer handy, although if you do Q for a month, it would be best to check for signs prior to using harsh meds. which may not be required - or appropriate
I've lost 2 lots of female bettas, bought from the same LFS, to two DIFFERENT types of worms - and what meds work on some of many possible types may not work on others.
But one of the many pieces of advice I followed was to remove all gravel and slate, if at all possible, when worms are suspected, so that any worms passed can be not only seen and counted where the numbers aren't too great, but syphoned out daily.
Of course, various intestinal nematodes aren't likely to be passed by the fish unless treatment has been in progress for, in some cases, possibly quite some time - most types don't hang out of the fish where they can be seen.
And most people have no idea how prevalent the problem is among aquarium fish until one of the more virulent varieties wipes out a whole tank of valued fish.
You and I will be aware of them forever - and probably mourn our so-rapidly lost fish the same length of time.