What index do you want to track?
There are several ways of tracking a stock market index, e.g. buying into an ETF or buying into a fund that tracks your chosen index. If you do a search on Askaboutmoney for index-tracking funds or ETFs there's a lot of information already here.