Controlling magnetism with multiferroics