You should! Then you dont have to worry about anything moneywise later.
If you dont, you are just adding onto the interest, so if you are your mate had a house each, you both owed £4000
You both win money on the lottery, you pay the £4000 off and your friend doesnt,
Your friend will probably end up owing £8000 depending on how long they take to pay it.
