Bone pain. Periodically swelling, joint ligaments pain. On and of at 2 three places?

Joint pain. See a doctor. You should be evaluated for a rheumatologic condition like arthritis. Also could be fibromyalgia. Get a routine panel of blood tests and x rays, then more detailed tests depending on the outcome.