An ophthalmologic apparatus includes an aberration measurement unit configured to measure aberration caused by a subjects eye, a correction unit configured to correct aberration of return light from the subjects eye of measurement light applied to the subjects eye caused by the subjects eye based on the aberration measured by the aberration measurement unit, a storage unit configured to store a plurality of combinations of frame rates for obtaining an image of the subjects eye with a number of pixels of the obtained image according to values of the frame rates, and an obtaining unit configured to obtain the image based on the frame rate and the number of pixels in one combination among the plurality of combinations using aberration-corrected return light from the subjects eye.