Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
Call emergency services if the problem begins suddenly, particularly with facial drooping, arm weakness, numbness, trouble speaking, severe imbalance, confusion, vision loss, or an unusual severe headache.
Do not drive yourself for assessment.
Emergency help is also appropriate after a significant head injury, during or after a seizure, or if recognition difficulty occurs with reduced consciousness.
Arrange a routine but prompt medical assessment if recognition problems develop gradually, keep returning, or interfere with daily tasks.
An eye examination alone may not identify the problem, so unexplained difficulty understanding what you see should also be discussed with a medical professional.
If visual agnosia has already been diagnosed, seek routine follow-up when symptoms change, current adaptations stop working, or daily activities become less safe.
The article also says
Sudden difficulty recognizing objects can be a sign of stroke, even when eyesight seems normal.
Every sign above is quoted from the sofidex article on Primary visual agnosia. If you are not sure, err upward — it is always reasonable to be checked.