How can a beginner start investing in the stock market?

What are the first steps a beginner should take to start investing in the stock market?,