How do you cook jam?

Can you answer this question?