Weight gain.

So I have gained a lot of weight and don't know where it came from. I took and pregnancy test, at home one and blood not pregnant. But it like I got it over night. I have been eating right. Been working out. And it still won't go away. Any pointers.