The invention is concerned with an ophthalmic apparatus, which is aligned to an eye to be examined. The apparatus comprises means for examining the eye of an examinee, two or more infrared or near infrared light sources for emitting two or more light beams, a detector sensitive to infrared or near-infrared light with the capability of detecting the light reflected from the examinees face as a consequence of said emitting, and of detecting the direction from which the light is reflected from the examinees face and for judging based on the detected direction whether the apparatus is aligned against the examinees right or left eye for the examination, and means for registering the examination result of the eye and the eye that was examined. The invention is also concerned with a method intended for all kind of ophthalmic examinations including measurements related to the intraocular pressure and the thickness of cornea by using the ophthalmic apparatus of the invention. The method comprises aligning the ophthalmic apparatus to an eye to be examined, directing the light beam of one infrared or near infrared light source to the face of the examinee, directing at least the majority of the light beam of another infrared or near infrared light source to pass the examinee, detecting the direction of the infrared or near infrared light reflected from the examinees face, and registering the examination result and the examined eye in order to know whether the examined eye was the right eye or the left eye of the examinee.