we had to, we were supposed to
Debimos haber seguido el consejo de Mary.
We should have followed Mary's advice.
We should have stayed home.
Debí haber cambiado contigo, debimos haber cambiado juntos..
I should have changed with you, we should have changed together.