An ophthalmic apparatus includes a display control unit configured to cause a display unit to display a fundus image of an eye to be inspected, which is obtained by photographing an image of a fundus of the eye to be inspected by using a photographing optical system, an input unit configured to input whether to store the displayed fundus image, and a selecting unit configured to select, if it is input that the display fundus image is not to be stored, whether to execute rephotograph after automatically controlling a driving unit for driving at least one of a focusing portion formed in the photographing optical system and a photographing unit including the photographing optical system, or to execute rephotograph after manually controlling the driving unit.