Dr Conrad Fischer stated in one of the Kaplan Physiology Step 1 videos that people who went to medical school were those who couldn't do mathematics. The way he delivered the punch line was hysterical being the theatrical instructor he was.
When you have debt, your first priority is always, first and foremost to pay it off as soon as possible. Wear the same underwear and socks for 2 days, skimp on household furnishings, eat at home instead of restaurants, eat lean meals, forgo cable / satellite TV and bundled internet connection, buy clothing, furniture, cookware, presents, etc at second hand stores and have lots of intimacy with your husband/ wife / significant other to pass the time when you are not working. Yup my husband and I are doing all of these things to pay our (my) loans off expeditiously. For my last home mortgage I owned, I paid double the monthly payment for a few years until I finally sold the house for medical school and actually came out in the black.
In general pay off all loans ahead of time if at possible and these include home mortgages, car loans, credit card bills, student loans, personal loans, etc.