Is it okay to start exercising again?

Ma

I was exercising regularly for the last 1.5 months, but took 3 weeks off, and now I found out I'm pregnant. Is it okay to restart my exercise regimen?