There can be different reasons for tightness.
Most common is postural issue.
Need proper evaluation to be done for posture.
And need proper history as well.it not just your hamstring involved it is related to knee, back, gluteus.as we'll.
Use pain'relieving gel like volini gel or diclofenac gel.
Use hot water bag three times a day 10 min-15min.
Start doing exercises for back Strengthening exercises.knee strengthening exercises.
Back stretch .and quadriceps stretch.hamsrting stretching.
Static glutes.,Pelvic bringing.,Core strengthening. Calf stretching and hamstring stretch.
Next Steps
avoid long sitting or standing.
take a break inbetween your work.
Health Tips
please visit the nearest physiotherapy clinic or consult online with practo physiotherapists consultation.for better treatment advice.