First you collect some relevant data (and to do that you need to identify things that can be measured) and then you analyze those data. The analysis of the data may support your hypothesis or generate a new one, which, in turn, might lead you to revise the theory.