it could be many things. It could be a problem in your joints or a problem in your tendons. It could be from a condition such as RA, a sprain or something else altogether. I highly recommend that you make an appointment with your family doctor so they can examine you and see what's going on.
Good luck! Please let us know what happens?