rehab

Demi Lovato took a break from her big job on The X Factor to stop by Jimmy Kimmel Live.

The 20-year-old platinum blonde talked about getting a call from Simon Cowell to join the show ... and of course, working alongside fellow judge Britney Spears.

Following the taping, the "Skyscraper" songstress headed straight to her outpatient therapy in Studio City. The former Disney darling has been seeking treatment for an eating disorder and cutting since early this year.

Great to see she's still on track!