RICE if it is sore and inflamed (red, painful to touch, recent injury), heat only in advanced stages if it is not healing.
recent research says ice isnt that helpful anyways and is BS, and you can't really elevate your core, nor can you compress it.
I suggest you avoid painful positions and do some diaphragmatic breathing to calm your ass down