An antipsychotic was a medication used to treat various forms of psychosis, including delusions and hallucinations.
In 2374, The Doctor suggested administering an antipsychotic to Seven of Nine after exposure to a Mutara-class nebula caused her to hallucinate. (VOY: "One")