The previous speakers are both right.

In my experience, when I've had a nitrite spike, it helps to do a large water change (as already stated by Nossie) and maybe add a product such as Prime, which allows cycling to continue uninterrupted while detoxifying the nitrite, making the water safe for your fish.
Keep a close eye on them as well, and watch for signs such as burns (white patches), flashing, and blood on the body and in fins. I wouldn't add salt just yet unless you get warning flags such as these and need to help your fish.