Scientific method.

A hypothesis that has sufficient support via many tests may be accepted as a theory.

Scientific method exercise