As per your explanation I suggest you to visit a physiotherapist and take a good exercise program for your entire spine health. This will help you to improve the strength, stamina and flexibility of your spine.
Here you have mention some times morning when you get up you feel pain at your back. It tells me two things. Either your back is weak or there is a problem with your bed as well sleeping posture. If your back is weak again there could be two resion. Either its spinal
muscular weakness or it may be related to disc problem. The only way to conform is by doing
MRI and checking out your self do you feel any
radiating pain from your back to legs ?
If yes then it could be related to disc problem.
And if there is only spinal muscular weakness Dont worry that will recover once you start following proper spinal exercise program.
But I must suggest here do check your bed level
( it should have even surface )and it should not be too soft or too hard.
You can also use hot and
cold pack at your painful area to have more of relaxing and sothing effect which will also help for relieving pain if there is any pain.
At anytime if you feel the pain have increased in intensity and more frequent as well radiating to legs then do consult specialist for that.
Understand one more thing pain is a symptom so Don't treat the pain treat the cause of the pain which will help you to have permanent relief.
Taking some time
paracetamol is ok but Dont make it your habit. Take care.