Should I be worried?

So I'm on birth control, the depo shot, and I had sex. The only problem is that the condom broke and I was ovulating that day. He pulled out right away but I've been gaining weight and I don't know why. Could I be pregnant or am I overthinking and is the shot just making me get bigger?  I'm very worried so please let me know what you know/ think.