Don’t panic and strip the tank out. Physically remove what you can with a siphon or turkey baster; if you have access to an mj type pump (1200,900,etc) blast the rocks with it and get the suspended pieces out with a fish net; dose any bacteria supplement you have, ie microbacter 7 or microbacter clean, dr Tim’s, etc..; and suck it up for the next month or two. I had cyano off and on for over a year before it completely disappeared. It’s the immaturity of your tank bacterial diversity and that’s only going to improve with time. There is no quick way out of this once it’s started. But if you’re patient it will bring itself under control and you will be happy. Once your tank matures it will be able to handle more than you think. Right now you’re just chasing your tail.
Before
After 5 months
Btw, my tank is half sand half bare bottom.
Your patience will be rewarded.