Knowing your limit before making a purchase can help you make smarter decisions.