How do credit cards work?If you’re thinking of getting a credit card, you should know the fees you pay and how rates are calculated.