Using Interest to pay interest

Assalamualaikum,

I know that any type interest dealings is totally haram but in the unfortunate case that you end up with interest, can we use it to pay interest on a mortgage for example?