In a medium pot, add 2 cups of cranberries, the orange juice, and sugar. Place over medium heat and cook, stirring occasionally, for 15 minutes, until all of the cranberries have burst open. You may need to reduce the heat to low once the cranberries start bursting as the liquid will become frothy and could bubble over.