Try to bring strength training into your routine. Also, by adopting measures like warming up before running,  wearing well-fitted running shoes, pausing and stretching during running, etc you can prevent hip strain.