Love handles

Is it safe to try to lose love handles when pregnant? I was pretty skinny before I got pregnant but I had some major cravings in the beginning so I’ve gotten some unwanted live handles and slight back fat I bought weights to try to get rid of them with a few exercises I’m trying really hard to eat healthy foods now but is it possible to lose the unwanted fat?