Well if you visually inspect them and they look damaged or worn then replace them. If the ride is harsher or the car rolls more than it used to then they need to be replaced.
most times cars springs wont go it will be the shocks best way to test this is a old method but works
push on the front or back of the car hard a few times if it continues to bounce after you stop the shocks are bad