gross feeling

Sometimes I feel so disgusted and nasty about myself. I couldn't sleep a few nights ago because I just couldn't stop feeling like I was gross and I just wanted to sleep so I didn't feel that way anymore. I don't always feel that way, but when I do it feels terrible. Any suggestions?