Antispasmodic medications are drugs used to relieve spasm of involuntary muscle. They are commonly used to treat conditions involving the gastrointestinal tract, including irritable bowel syndrome (IBS), and for conditions like colic in infants. These medications work by relaxing the smooth muscles and reducing muscle contractions.