Exercise ???????

Preggo
How to loose weight but not totally cut off form sweets? I'm not much of a salty eater but I love chocolate :( what's the best way to loose weight? Not eat after 6. ? What's your advise.