Stockholm has a really good Public transportation system, we encourage you to make good use of it. There are single tickets or travel cards of various lengths.
Information on Fares and Tickets

We recommend that you get a travel card since it gives you unlimited access to busses, metro, commuter trains and boats. (For more information - see link above, under "Visitor Tickets")