Infertility is the inability to reproduce even after having unprotected sex for more than a year. The technical definition might have some clauses to add on with respect to age.
Male Infertility is the inability of making a woman pregnant. It is only when provided with the fact that he has frequent sex with her for more than a year without using contraceptives.
Infertility in women is the inability to conceive a baby even after unprotected sex for over twelve months.
Female infertility informally can also encompass the incidents of miscarriages, chemical pregnancy and other such cases which terminate spontaneously.