Back pain after sex

I had sex last night on a hard surface and now I have bruises on my back and my back is really sore. The rest of my body is sore too. Has this ever happened to anyone else and what can I do about it?