A doctor may perform a comprehensive eye exam, assess medical history, and conduct specialized tests to determine the cause.