What is the meaning of Antipsychotic?

Preventing or counteracting psychosis.

Any of a group of drugs used to treat psychosis.

Source: wiktionary.org