Hamstring injuries are not easy to treat. Currently research shows that there will always be a risk of recurrence. It is improtant when returning to sport that you tick off the boxes (return to sport criteria) not just after 21 days say you are right to return.
Start to strengthen (from isolation through to functional eccentric exercises) and get a physio who can structure a running program individualised for your return to sport.
Enjoy
KS