When a pet dies do you get another soon after like about a week after or so?

Or do you wait a year or 2?

For me I get a new pet as soon as possible shure I miss the pet that has passed so very much but for me getting a new one helps release pain and gives me a chance to move on so I stop thinking about the death.

What do you do>?