Thanks to ur comments guys^_^…
It's not recommended. The risk is too high.
My doc told me to stop riding at 4 months but I was having trouble with my hips and the baby due to a previous injury. Ask your doc how long you can ride. Other than the obvious dangers of riding the concern is bumps. Either way, if you don't feel comfortable riding then stop.
I rode up in till 6 almost 7 months. It got uncomfortable after that, also the weather changed. Doctor said it was another mode if transportation. I would make sure to drive safely though!