A few dollars upfront might save you years of headaches.