Being happy for others

So TTC since March which I know isn't long but my best friend has recently announced she is pregnant and I am absolutely over the moon for her it's breaking my heart watching all my other friends ask her questions and get excited for her. Just wondering how do people deal with it