To buy or sell Peloton shares online, you can use a securities account or contracts for difference (CFDs). Choose the option that best suits your needs and consult an online broker or financial institution to proceed with the transactions.