You should start planning early, ideally one to one and a half year(s) in advance. For the Erasmus+ program, there may be remaining places available at a later date (see the “Erasmus+” section).