Thank you for writing!
There is no way to prevent dementia, currently. Coconut is good for our health but will not prevent any medical condition.
Can you give us more information about your situation?
In the meantime, you can take a look at our Dementia page here: https://www.empowher.com/condition/dementia?page=1
We look forward to hearing back from you,