Colleges will usually provide a physics course that covers the need of pre-meds. You don’t NEED to take either physics course in high school, but taking both will give you better preparation than only one. Generally you take mechanics before electricity and magnetism, but I don’t know if there’s any reason for that. Back in the days that dinosaurs roamed my college’s premed physics course had labs and calculus was a prerequisite.