A couple of hints, since I've 'been there, done that'.....
First, if you must weigh yourself other than your doctor's office (which is how I was), be sure to use a reliable scale. For instance, I know that the scale in my home registers three pounds heavier than the scale in my surgeon's office (this makes for a nice surprise when I go in for fills :thumbs_up:).
Second, just like you, I GAINED weight in the exact same point in the process and I was SO frustrated; I cried, I had a pity party, I swore that I was stupid for doing all of this, and then..... I started losing. It took me three fills (my last one was two months ago) and I finally hit an AWESOME point in my restriction; I eat lots of small meals a day; I NEVER order when we go out (I just have a few bites from my husband's plate), and I very rarely actually feel 'hungry'. The amount of weight I lost so far is 82 pounds (surgery was in June, but this is how much weight I've lost since early May), and I've only got 61 more pounds to go to my goal; I never thought I'd be at that point. Honestly, even if I never lost another pound, I am truly happy with as far as I've come.
I'm just trying to encourage you to get through this rough time. I can remember being in your shoes and feeling the exact same way, but honestly, take a deep breath, stay off the scale, get the fills that you need, and you'll be on your way!