There are usually three steps to becoming a data scientist:
Earn a bachelor's degree in IT, computer science, math, physics, or another related field.
Earn a master's degree in data science or related field.
Gain experience in a field of interest