Antispasmodic

an agent that relieves or checks spasms or cramps