Dealing with Loss

I have had my beautiful fur baby, Dalileh, for almost ten years. Today I found out that we will be putting her to sleep in the next few days and I feel so upset and overwhelmed. How do you all handle the loss of your precious kitties? I honestly don't know how to handle this and it would mean so much to me to get some advice. Thank you :)