Ground and practical are done as separate things. You do the ground exams as a distance learning excercise, doing the CPL and IR exams or the ATPL exams. When you have a pass in these 14 exams which require around 800hrs of ground school plus 2 weeks class room you then do the practical training. This is available from a variety of sources.