Both women and men can have medical problems that cause infertility.