I was still happily hiking at eight months pregnant. Just a lot slower
Drink plenty, nibble snacks often, take your time and above all listen to your body and your doctor.
I was up and walking the dogs with baba in a sling 48 hours after a c section and I think it was a lot to do with staying active, as long as I could through the pregnancy.
Good luck!