instruction: hello doctor I am a 30 year old female I do not have any medical issues that could associate with my problem about a month ago I woke up to pain and stiffness in my neck and shoulders I figured I just slept wrong or something little like that but every single night since then I have been woken up by the pain during nights I cannot lay in any position where I put pressure on them and it only happens at night or while resting or laying down for more than an hour it started with just my neck and shoulders but gradually it has turned into pain and stiffness in my neck shoulders elbows hands which includes swelling in my fingers hips and now my knees it only happens when I lay down for long periods and gradually disappears during the day with movement and activities it is also disrupting my sleep every night in which I barely get for three to four hours altogether I have tried taking naproxen before laying down for the night and using a heating pad at night to avoid these issues but it is not helping my question is what is wrong with me and how can I reduce or stop the pain and stiffness
output: hello the symptoms you have explained points towards arthritis it can be osteoarthritis or rheumatoid arthritis depending on the joints involved and the duration of morning stiffness usually in rheumatoid arthritis morning stiffness remains for more than 45 minutes and joints of the hands involved are middle joint and the joint which connects your finger with hand osteoarthritis morning stiffness relieves in less than 30 minutes in the morning and the joint involved are the distal joints of your fingers the tests which you can go for to confirm are a rheumatoid factor cop reactive protein ray of the joints the medications which can be used to relieve the symptoms are nsaids non asteroidal antiinflammatory drugs steroids to relieve the inflammation and dmards disease modifying antirheumatic drugs like methotrexate sulphasalazine etc surgery is another option here which you can talk to your doctor after confirmation of the diagnosis I hope this helps ray of the joints cop rheumatoid factor osteoarthritis gout