infertility question

Does infertility run in the family? So if a relation to me has had problem conceiving, will I?