The hypothesis occurs before the experiment is completed.
An hypothesis is a formal statement, an educated guess which predicts the likely relationship between the variable that are been study. Hypothesis is the first thing that must be formed before the experiment begin.