This can be done through a broker, who acts as an intermediary between you and the company whose stock you want to buy.