Losing weight while pregnant

Starting this year I really wanted to get at a healthier weight I am 220. I found out I’m pregnant many tell me not to workout:( others encourage it. Is there any mommas who have worked out while pregnant?

Can I lose weight while being pregnant ?

How can I do it in a healthy way for baby and me?

How should I start ?