Lyrica is part of a class of medications known as anticonvulsants. It helps to treat neuropathic pain, fibromyalgia, and partial-onset seizures. It is unknown how Lyrica works, but it is thought to provide a calming effect on damaged or overactive nerves.