pulled muscle over left hip just stretching. Had not warmed up

the body. 2nd. time this has happened in last 2 years. What is best use of RICE treatment?