severe bloat?

e

I don't understand how I can suddenly gain 5 pounds over night. yesterday I was 112 and this morning I'm 117??? yes I had a late midnight snack but I still dont get it. lately my weight is all,over the place. how can I regulate it???