What worked for me was to get another dog when I had the previous one put down. Usually found one the same day. Having a puppy, house training and seeing all the cuteness and energy sure took my mind off my loss for a while. It hurts to lose pets but, look at all the good times you miss.
That puppy is adorable, I had all toy size dogs except for a large dog we rescued from neglect.