The chart shared above is a good start, but here is a bit more guidance. I used this with success using vinegar and a cheap jebao auto dosing pump. It is very effective at reducing nitrates. In fact, it is so effective that I eventually stopped because I couldn’t keep up with the nitrate dosing needed to keep it from zeroing out and starving my corals.
You are probably better off with a few large water changes and getting a skimmer to remove the organics that are contributing to your nitrate problem. That said, there are other benefits to carbon dosing, so it is a fine option. Just make sure you are committed to it and understand the additional nitrate dosing that may be required when you get to the ultra-low nutrient state.
Here is a good article on the topic:
https://reefkeeping.com/joomla/inde...ar-dosing-methodology-for-the-marine-aquarium