Your friend is probably so upset with being unable to get pregnant that she has lost her sense of perspective.
She has forgotten that she does not have the right to have a child - children are God’s gift, and He does not give everyone the same gifts.
Even if she feels that God is calling her to the vocation of motherhood, it is totally wrong to try to get pregnant in any way other than through marital relations with her husband.
The in vitro method violates marriage in so many ways, and, besides, it involves killing many tiny babies, since it involves artificially (methods outside the woman’s body, by doctors) inseminating ova, in the hope that one will implant in her womb. This is in violation of the 5th Commandment.
Your friend should contact the Pope Paul VI Institute, which specializes in NaProTechnology. This is much more successful than in vitro technology, and is totally in conformance with the Catholic Church.
And, there is always the possibility of adopting a baby who might otherwise be relugated to an orphanage or foster care. This is such a loving and caring choice.
Why do so many of us Catholics not follow all the rules? Because we are all sinners, and, so often, we rebelliously decide for ourselves what’s right and what’s wrong, depending on what we feel, instead of what is really right or wrong.
Don’t give up on your friend, even if you cannot persuade her that she is heading in the wrong direction. If she does insist on going in that way, she will need your love to help her understand that what she did was wrong and that she needs to be reconciled to God and the Church through Confession.