You can invest in the stock market by opening a demat and trading account with a registered stock broker.