Pain killar is not a solution . First you should know the cause of pain if u feel early morning pain that is basically a muscular spasm or may be a mattress is not so good. So better you can consult a physiotherapist for knowing cause of pain
Next Steps
Consult a physiotherapist
Health Tips
Do some back extensor exercise