Pregnancy workout

Is it ok to immediately start a workout routine (I found a pregnancy one lol ) at just 4 weeks along if I haven’t worked out in like 5 years?? It’s a treadmill workout and just walking at various speeds. Didn’t know if I should wait until further along or go for it? I’m not overweight just very out of shape!