Constant hip and back pain with popping of hips and sharp pain in back by right hip. Possible reasons for pain?

Many possibilities. The list of possibilities is long. Your best course of action is to see your DR, get an exam, and other testing if necessary. Then you will get a correct DX and treatment If needed.