Most types of debt relief have an impact on your credit report, and it’s important to know how long that lasts.