Before diving into the whole new world of Artificial Intelligence and Machine Learning, one should be done with the prerequisites. There is not a solid list, but a good knowledge of various algorithms is compulsory. Apart from that, you should be comfortable with at least one programming language, like Python or Java.
Start reading blogs, papers or scholar articles about Artificial Intelligence and Machine Learning. Like what it is, its applicability, current status and other material that you can find. Start designing AI codes for small games like Tic Tac Toe, Sudoku, Reversi (Othello), etc. for the start. You can design your own simulator and build a code that solves Rubik cube. Similarly, make algorithms for Pattern Recognition and Machine Learning. It will be better if your data on which the analysis is going on is stored in an external hard drive. If you are a beginner and want to know more about Machine Learning, then check out this course by Intellipaat which will teach you ML from basics: Machine Learning Course
And if you are more into youtube tutorials then here are some video tutorial by Intellipaat which will clear all your doubts regarding the same: