Depends honestly.
If something fails, then of course I replace it as soon as possible.
But otherwise I only upgrade as need be. Most of what I do on my machine is AAA & Indie games, so the upgrades I do is often linked to that. (GPU and SSD's).
I recently upgraded from a RX580 to a RTX 3060, which feels amazing!