I am gaining weight

I'm living a very hard period since January. I lost weight last year with FB. I felt energized, I loved taking care of myself. I was in the best shape I ever been. Since January I've gained 10 kilos. I've continued working out 5 days a week but with no motivation. I don't like myself. I bought plus membership thinking It would be a motivator but not. Now, I am Always angry, Always hungry, Always sad. And I don't know how to find the Strenght to start again. How do you deal with periods like this?