How do you deal with pregnancy announcements

So my sister in law just announced that she expecting and I just started crying . I'm happy for her don't get me wrong, but it hurts cause we've been trying for almost 4 years now. How do you express your feelings when someone you know announces their pregnancy ?Â