yep, as others say, harmless, unsightly, and can multiply greatly when tank maintenance is needed. A good sign that your O has outgrown your current regimen.
Remember to tear down the filters regularly ... cleaning or replacing the mechanical in tank water, cleaning out the filter housing and the impeller/impeller housing, if you use carbon, up the replacement schedule.
Make sure you are getting the gravel well, enough, should be clear when it comes up. Clean up the algae on the glass (more so they don't start climbing the glass eating algae once you start removing all their other food sources).
Reduce feeding and making sure to remove uneaten food. Check water quality for high nitrates.
A good way to help harvest them out quicker is take some food, anything non-toxic to your O, and put it in a mesh ... the worms will be attracted to it and you will find the food covered in the worms, remove, thow away, repeat.
Those are pretty much all the things I can think of, if one of them fits for you, hope it helps ... if not, know that they are not harmful ... in fact, they are food to other fish, like Bettas.