It really depends. Sometimes you can learn on the job with the right restaurant or being under a chef that is willing to help and teach. Additionally, there is also Culinary programs that teach basic and advance skills to having in the kitchen.
There are classes that you can also take online through Rouxbe or America Test Kitchen they have some great classes including knife skills.
Hope that helps! best of luck