When your back hurts right after major lifting or other physical exertion, consider naproxen (Aleve). This NSAID differs from pain relievers like ibuprofen and aspirin in that it will take for a longer period to work, but its pain-relieving effect lasts more time, which makes it the more sensible choice for further aches and pains, claims Dr. Gupta