Medical school lasts about 4 years, with some accelerated options. After earning an M.D. or D.O., doctors enter residency. For Urgent Care Doctors, the average salary ranges from $176,439 to $227,938, with a median of $203,780, reflecting their specialized training duration.