The NSAID class for example may help, Acetaminophen
may help, anti-spasmodics, muscle relaxants
may help. etc. BUT, you first need to be properly diagnosed so the underling cause is revealed and you do not mask pain, which i the bodies way of telling you "something is wrong." Good luck.