You can probably forget the "temp" part of your statement. It seems once you have a back problem you will always have a back problem. The pain may go away for weeks, months or maybe years ......... it will return. Trust me!
Depending on how bad, depends on what you do to loosen it up. With mine, it's a good hot shower, followed by bending side to side, front to back, followed by a walk, followed with another hot shower.
Of course the pain killers help some to