Give 1mg of Benadryl per pound such that if your dog weighs 30 pounds, you should give it 30 mg of Benadryl. Talk your veterinarian - while antihistamines are generally safe, there are the potential for side effects particularly if your dog has chronic organ failure (renal failure, liver failure, congestive heart failure, etc.).
1 Encephalitis is inflammation of the brain.  Meningitis is inflammation of the membranes (called meninges) that surround the brain and spinal cord.
Encephalitis is inflammation of the brain that occurs when a virus directly infects the brain or when a virus, vaccine, or something else triggers inflammation. The spinal cord may also be involved, resulting in a disorder called encephalomyelitis.