idiom

Go off the rails.

Theme: character Keyword: road

means

To lose control or depart from an intended course of action.

Example

The discussion went off the rails after the personal accusations.