Stupid question

Chanel
Is infertility a hereditary thing? We have been ttc for 5 months now this will be our second child but my SO's first...