Yea just listen to your body and stop when you need to, but exercise is great for a healthy pregnancy and can help you with labor.
If you were pretty active before pregnancy, its fine. If not, take it easy and stop when your body tells you its had enough.