hi there, can you please tell us some more about the tank, how big is it, how long has it been set up, what equipment do you have running and what fish do you have in it?
have you also tested for ammonia, what is this reading please?
For some reason your tank is not fully cycled, answering the questions above will help us work this out with you.
The nitrate is less of a problem although it's high enough for concern but that level of nitrite is lethal and needs to be sorted asap. You need to do an immediate 80% water change, 1 hr after the change test the water again, if the level of nitrite is above 0.25ppm then do another large water change, keep going like this until you get it down to 0.25ppm or less. You'll need to do this every day until both ammonia and nitrite hold steady at 0 by themselves.