Hi,
I appreciate your efforts towards injury prevention but right way is to do enough warm up n proper stretching is a key towards avoiding any musculoskeletal injuries.
This is likely a muscle pull . if pain is unbearable pls get yourself assessed
Next Steps
ideally if you are unable to visit Physio then kindly do moist heat fomentation for 20 min twice a day or may be three times
Health Tips
avoid any jerky movements, take rest and gradually start putting your muscles into action.