Breastfeeding & pregnant

Okay so my 2nd son is 20months old and he still breast feeds at night. My husband and I are trying for another baby. When I do get pregnant and if I’m still breast feeding how will it affect my pregnancy?? I heard that your not supposed to bf while pregnant bcus it can cause contractions. How true or false is that?