Hi Kate,
Have a look through this link.
http://www.caudata.org/cc/articles/Tank_critters.shtml
Most tank critters are harmless and can be left as it is. However, if you observed them being parasitic on your axie (stuck to their skin or gills and cause irritation), you can safely remove planaria in the following way.
Scraped beef is put into a gauze sac and hung among plants and close to the gravel. Light should be switched off. The gauze sac will attract
Planaria that will gather on it in a few hours. The sac is removed from the aquarium (hold the net under the sac to prevent
Planaria falling back into the aquarium) and put into boiling water. Repeat this for several evenings to ensure that young
planaria that have hatched from eggs are eradicated.
Melafix and primafix have broad spectrum mild antibacterial properties. If used appropriately, they are relatively safe and effective for minor skin sores. However, there is no indication to use these chemicals in this instance.
Also, when you want to treat an axie in a medicated/salt bath, place the axie in a separate tub. Do not add chemicals or salt directly into the main tank. Being fully aquatic, axies cannot 'escape' from the medication and are much more vulnerable to overdosing or prolonged exposure. In addition, adding these chemicals will kill off benefcial bacteria in your main tank and cause a myriad of water parameter complications. I highly recommend you fridge your axie and perform water changes daily for a week at least to remove the chemicals. Test your water parameters and note any changes. Once your main tank is back on track, you can put your axie back.
Cheers.