Focus on small, present things
If your pet has died, try not to obsess over “When am I going to get over this?”. Instead, focus on small steps in your adjustment process: put away the leash; be able to pass the park without getting upset; and, eventually, feel the urge to get a new one.