Hi there,
If you want to streamline your rehabilitation and get best results then get a referral for physio. You can self manage however having a qualified person guiding your rehab and utilising their tools (hands) to help you will be beneficial.
If you are physiophobic or perhaps not wanting to pay for it then heres some advice.
After tearing a hamstring you should be waiting quite a while before actively working the hamstring, you could damage it if you flex it too hard. You may just have a strain however in which case you can start active rehab which should comprise stretching and strengthening of the hamstring. I do suggest you go to a physio because I can't tell you wether it was torn or sprained and as there are 3 hamstring muscles we can be more specific to the one which has actually been injured if we know which one.
Your current level of rapid recovery would indicate it isn't torn.
So for a sprain I'd be doing regular hamstring stretches (3x a day) and some gentle hamstring exercises (prone curls with light weights) slowly progressing to harder strengthening such as the nordic hamstring exercise (shown to help reduce the chance of further sprains)
Heres hoping you visit a physio to get it checked out - they can advise on specific exercises and also do massage as well as utilise electromodalities (which may or may not do anything ;P)
Good luck