Mother Had Infertility Problems

Mackenzie • Baby boy born 9/6/18 & 1/18/21 💙💙
My mom had endometriosis with both my brother and I and was told she can't have any more children and her liver almost failed when having me. Could this be passed down?