if the hypothesis is proven to be correct or incorrect
It means that she or he has to accept that the existing hypothesis appears to be true.
Hypothesis is examined very closely to see what it predicts, and the predictions are then rigorously tested. If the predictions are not supported by the results of experiments, the hypothesis is rejected but if they are confirmed, the hypothesis is supported.
For a hypothesis to be put forward as a scientific hypothesis, the scientific method requires that one can test it. A working hypothesis is a provisionally accepted hypothesis proposed for further research.
An experiment is performed to generate more data. If the data proves to not support the hypothesis the experiment was still useful. You could reproduce your experiment to see if it is performing the way it should. After you have confirmed the experiment is performing correctly you then could devise another experiment to further test your hypothesis or accept the result and revise your hypothesis.