There are several ways to tell that your system needs a replacement.
Inadequate cool air
Strange sounds
Foul odors
High energy bills
Short cycling
Water leaks around the unit