Several ways. Every Sim will eventually die of old age, but that is the slow route.
Faster and less pleasant options include starvation, if a Sim is left without food for long enough, and house fires — a Sim caught in one for too long will not survive it.