Credit cards can help build credit while making purchases more convenient. Learn how credit cards work and best practices for using them.