For short periods of time, prescription medications (such as narcotic pain medications or muscle relaxants) may be helpful to alleviate pain or related complications.
It can take anywhere from 4-10 hrs. now if your head gasket is warped you will have to take it to have it milled that takes from 1 day to several days. if not you can just buy a completely new one that fits perfectly for about $150.
Just my two cents, but re. the overheating, my bet would be cylinder head or head gasket failure. (I just had a recon put in, with 2.3 hrs it was overheating. Turns out the head was never torqueÂ´d down from the factory!!!! Blew the head gasket!) Most often overheat problems are head/head gasket. If you have good water flow out the exhaust then that kinda rules out raw water pump.