What should you do if a relationship has reached a dead end?

What should you do if a relationship has reached a dead end?