When to stop working out

Im 28 weeks and still workout using the Peleton, some strength workouts, and sometimes can run a mile. I’m starting to definitely see that I cannot do as much as I’m used to. When did you ladies stop working out during pregnancy? I don’t want to continue as I am since I’m getting closer for baby to arrive.