You gotta increase your water changes. Meds won’t work well and fish won’t recover if you have bad water quality issues. I’d suggest increasing ur water changes to 50% and adding some seachem prime or safe and adjust according to your water parameters. Then redose the medicine.