Pooping & 21 weeks pregnant

Brooklyn
Ok.. So I'm 21 weeks along.. And a little constipated here & there.. But sometimes when I'm on the toilet & pushing.. I feel a weird sensation on my stomach... Am I harming the baby by pushing? This is my first!