Right. There is inflammation in there that is causing pain. If you have been resting it and taking ibuprofen, and it isn't responding, then it is time to take it to the doctor for more assistance. An orthopedic doctor would be the one to go to. If the inflammation continues, there can be permanent damage. Things are already starting to stiffen up. You also said you had lost some range of motion, and you need some exercises to get that back up.
__________________
Let me know if you need further information. Please remember to click the accept button if this information is helpful. Thanks. JeanRN