To learn Machine Learning, you first need to learn the basics of linear algebra, statistics, calculus, and probability. After that, you can learn either R or Python and their respective libraries used for Machine Learning to build Machine Learning models and applications.
If you are looking for an online course to learn Machine Learning, check out this Machine Learning Online Course by Intellipaat.