ttc and going to the gym

Heather

my hubby and i have been trying for 3 months. recently i feel down and noticed im gaining some weight but am not pregnant. is it safe to go to the gym and exercise and lift weights?