Welcome to the wonderful world of cyano bacteria....
Post your water parameters, tank size, flow rate, lighting, what livestock you have, what you are feeding, etc. so we can figure out what is causing it.
Likely candidates include poor source water, not enough circulation, overfeeding, etc.