Any level of ammonia or nitrite above 0.25ppm can cause health problems or even death in fish.
If you do a 25% water change, that'll reduce your nitrite to 3.75ppm; another would reduce that only to around 2.8ppm, which is still far, far too high.
You want to do an immediate 90% change (leave just enough water for the fish to swim upright; don't forget to turn your heater/filter off!). That'll bring the nitrite down to around 0.5ppm; then you can do another 60 or 75% change to get that down under 0.25.
The same appies to the ammonia, but as that's at 1ppm, one 90% change would sort that out, so you need to concentrate on the nitrite for the moment.
I know that's a lot of hard work on a big tank, but it must be done for the safety of your fish.