OTC NSAIDs are a great place to start when treating back pain. Acetaminophen is also a great OTC medication for pain relief.
Also, try hot and cold therapy, gentle stretching, and gentle exercise. If needed, see your medical provider for prescription medications such as opioids or muscle relaxants.