go to the dogs

definition: become ruined
example:
speech part: verb
synonyms: go to pot

How go to the dogs is being used?