How to maximize the use of credit cards while avoiding debt