An ophthalmologic apparatus includes an integration unit configured to integrate a light emission amount of a light source for illuminating a subjects eye, a comparison unit configured to compare an integration value by the integration unit with a first reference value, and an initialization unit configured to initialize the integration value if the integration value exceeds the first reference value as the comparison result by the comparison unit.