An assessment for an underlying cause of behavior is needed before prescribing antipsychotic medication for symptoms of dementia .  Antipsychotics in old age dementia showed a modest benefit compared to placebo in managing aggression or psychosis, but this is combined with a fairly large increase in serious adverse events. Thus, antipsychotics should not be used routinely to treat dementia with aggression or psychosis, but may be an option in a few cases where there is severe distress or risk of physical harm to others.  Psychosocial interventions may reduce the need for antipsychotics. 
Pain is generally an unpleasant feeling in response to an event that either damages or can potentially damage the body's tissues. There are four main steps in the process of feeling pain: transduction , transmission, perception , and modulation .  The nerve cells that detect pain have cell bodies located in the dorsal root ganglia and fibers that transmit these signals to the spinal cord.  The process of pain sensation starts when the pain-causing event triggers the endings of appropriate sensory nerve cells . This type of cell converts the event into an electrical signal by transduction. Several different types of nerve fibers carry out the transmission of the electrical signal from the transducing cell to the posterior horn of spinal cord , from there to the brain stem , and then from the brain stem to the various parts of the brain such as the thalamus and the limbic system . In the brain, the pain signals are processed and given context in the process of pain perception . Through modulation, the brain can modify the sending of further nerve impulses by decreasing or increasing the release of neurotransmitters .