Once you’ve figured out the fare, you’ll need to buy your farecard from one of the vending machines usually found along one side of the station near the map. Some of them only take cash and some take cash and credit cards. There are instructions on the machine that are pretty good. And Washingtonians are usually willing to lend a hand to confused visitors. You can buy Metro day passes and fast passes
online.