Sam checks into a mental hospital after she diagnoses herself as being unstable because she likes Freddie. Carly and her pals then try to get Sam out in time."