Theory of magnetic field effects on critical points