Greetings, sorry about the pain. you are not suffering from any medical issues, it is just poor muscle mobility and stability
Next Steps
hire a physio as your trainer and get involved in exercise program which includes flexibility and strength training you will be better and back to your normal. simultaneously start trigger point therapy with physio and you will start to feel better in 2 sessions and keep working on until you get better, probably you need 3-4 months of exercise program and making this program your routine is up to you.
Health Tips
if any questions do let me know.