How to properly cook mulled wine and not spoil it during cooking?

Source