It's hard I know, I've been there but you can give up on yourself.
Wolfsage is right this site is extremely helpful. If you write everything you eat you'll have a better understanding of why you're gaining weight and what you need to change in your diet