Instead of looking for a treatment I'm more a fan of creating conditions where they don't thrive. That is... conditions where beneficial bacteria can out compete the dinos. This is of course not an immediate change/fix but it is a long term success strategy.
Good news is, if you have fish in the aquarium you have the bacteria you need. Now it needs to proliferate. The goal is consistency with a target. That target is:
Alk 8-9
Nitrates 3-10 ppm
Phosphates 0.03 - 0.10
I list only those three because they're the ones that matter and need consistency. If you would like suggestions on consistency I'd need to know more about your setup and what we have to work with