I need some girlie advice

Katrin
So I've been living with my boyfriend for 6 months now & we have been trying for a baby. I went to the doctors today & found out I can't have children. I don't know how to tell him he's been set on having a child & I am so scared he's going to stop loving me