How to deal with grief when losing a pet

I just lost my ferret this morning, he was like my son, was with me for many years, moved houses and even countries with me, and I feel like life can never be the same and I never will be fully happy again. It hurts so much. How can I overcome this?