Tank is in mid-cycle.
If there is fish, you should monitor conditions closely with frequent large water changes. IE: 50% every day or two, until conditions improve. More or less ass needed depending on stock, ect.
If there is no fish, you should continue to add ammonia for the cycles to complete. You must add a source of ammonia though, or else you will starve out the bacteria and the cycle will break.
Regardless, continue to test every day. Generally, when you are coming up with 0 ammonia and high nitrites, you are close to a full cycle, so it shouldn't be too long for it to finish.