You test things.
No really, you test them over and over and over until they don't break. You also fix things. The broken things you're testing.