Whichever way works best for the situation. A transformer is just another option.