Should I get a dog?

Hey all, i’m going through a bad break up and my ex had a dog. We were together for 5 years and i’ve known the dog since he was 2, he’s 7 now. I feel like I helped raised him in a way, I did everything an owner would do. I really miss the dog, and now i’m wondering if I should get my own. I’m not sure if this feeling is me just missing him and not being able to see him anymore. If you were in my shoes, what would you do?