Sound advice on how to breakup

Proverbs 6:2-4

If you have trapped yourself by your agreement and are caught by what you said— follow my advice and save yourself, for you have placed yourself at your friend’s mercy. Now swallow your pride; go and beg to have your name erased. Don’t put it off; do it now! Don’t rest until you do.