Thanks for your query.
Based on your symptoms, the pain could either be arising from the hip joint or one of the ligaments in the upper thigh.
As of now, you can do muscle strengthening exercises around the hip joint. You may take the help of a physical therapist in learning those exercises.
If pain is more, you may take analgesics, such as ibuprofen
As of now, there is no need to worry. However, if you do not improve with exercises, you may consult a doctor for evaluation.
I do hope that you have found something helpful and I will be glad to answer any further query.