How to prevent epilepsy in dogs