Intracranial aneurysms are the most common cause of isolated oculomotor nerve palsy with pupillary involvement particularly when the patient has sudden severe headache
If pupil is involved look for surgical causes
If pupil is spared look for medical causes such as hypertension and diabetes mellitus