Your pain and the cause of injury indicate a possible hamstring muscle injury. If the injury happened less than 48 hours ago. Rest and cold packs will help. In case there is any skin discoloration or massive swelling, consult an orthopedic. Otherwise, post 48 hours, you can continue cold packs and try gentle stretches within the pain free range.
Next Steps
Meet a good Physiotherapist for complete evaluation
Health Tips
Avoid playing football until muscle gets recovered. Avoid using a roller over the muscle until diagnosis is confirmed. farradic currents are given for muscles with zero power. Ultrasound therapy may be helpful