If you can prove that you have a provisional driving license and have completed the mandatory minimum practice period of 5 months, you can participate in the practical exam, after 20 hours of driving lessons.
However, you usually do not have a provisional driving license if you have just finished your 20h driving lesson, because you want to obtain an M18.