This is Dr Basu, experienced Internal Medicine Specialist.
I am here to address your concerns and provide great service.
I understand your concerns.
Since the pain is worse on lying down and tends to be localized on the right flank, this is likely nerve compression related pain.
Burning and sharp character suggest nerve related pain.
Lower spine arthritis or paraspinal muscle spasm can cause pressure on the nerves.
Another possibility can be kidney stone related pain.
But pain is usually more severe and worsens with movement.
Besides urinary symptoms also will be present.
Intestinal or appendicitis related pain will cause other symptoms.
Now, nerve and muscle related pain can be controlled with an anti inflammatory medication like Naproxen 500 mg twice daily.
Also warm compress and icing alternately will help.
Lower back exercises also may prove beneficial.
You can go to the local hospital if pain is unbearable.
It was my pleasure to help you today.
If I have answered all your questions, Please rate my response Excellent (click on the 5th star).
Please bookmark my profile for asking further questions!
This is the link to my profile: