Biofreeze is good for normal joint pain. For pain that's a bit beyond what my normal daily pain medications handle, I use this lavender magnesium solution, spray it on my back, and have the husband help rub it in. But I usually just take an Epsom salt bath.
Any worse than that, and I let a doctor handle it.