https://burwoodvet.com/dog-dementia-jimmys-story/

Canine cognitive dysfunction (CCD),

Canine cognitive dysfunction is also known as canine dementia or canine senility. Canine cognitive dysfunction is a condition that affects the dog's brain and causes changes in a dog's behavior and cognitive abilities.

It is common in older dogs ad people.

Some Clinical signs of Canine cognitive dysfunction in dogs include:

Disorientation: Difficulty finding their way around familiar environments.

Altered sleep patterns.

Changes in social interaction:

Changes in activity level: Dogs with Canine cognitive dysfunction may have difficulty performing familiar tasks.

Lapse in house training: Dogs with Canine cognitive dysfunction may forget their house training.

Consult with a veterinarian that understands CCD and the various treatments available.