You clearly have problem with your posture that's why you are getting this problem again and again. Postural correction done in 3 steps, first step is to relax the muscles which can be done with releasing the muscles you can see videos on youtube for self release. In 2nd step you train the muscles which can replace the muscles which are getting tight again and again. 3rd step is to train and maintain. This may take 8-12 weeks as we are changing movement patterns.
Next Steps
See a physiotherapist nearby who can assess you for movement and problems related to that. Or Online consult can also work
Health Tips
Use tennis ball for releasing trigger point.