
Get back on the rails
Metaphorical Use
The phrase is used metaphorically to mean returning to the right path, like a train back on tracks. 
Positive Connotation
This phrase carries a positive meaning, suggesting improvement or correction of a situation. 
Not Literal
Don't confuse it with its literal meaning; it's not about actual rails, but about fixing problems. 