After medical school, you start foundation training. This lasts two years (sometimes three years). After this, you pick a speciality and start training towards that over the next few years.