Losing a pet

Was going to try to take step3 before starting residency (I’m an img). We just euthanized my dog. I don’t know how to grieve and study properly. Has anyone been through this? I was on antidepressants years ago and not sure if they would be helpful now or if I should just wait it out.