Depends on the damage it has done to the fish.
it's hard to say.
Api nitrate test kit not very good. It's not that accurate. Ammonia, nitrite are good in api
I use the tetra brand for nitrates.
Rotting plants, leaves, over feeding, uneaten food, overstocking a tank, lack of gravel vacs and water changes can all lead to bad water quality and pollution.