Working out and trying to conceive... Is that ok?

Sandra
This is my thrird month TTC. When we started trying I quited gym; however, I have noticed that I have started gaining weight, so I am back to the gym.
​Is it ok to workout while TTC?