Like Jeff said when the pain goes away start stretching do toe touches and any thing else that will stretch your back and leg muscles, I have to do this everyday or my back goes out by just bending at the waist the wrong way.....
Oh and like some one said now that it has happened once it will happen again....