Back spasms

Sara
I have had back pain for the last week. Yesterday it got so bad I went to patient first. They gave me some pills that aren't really working. Had a severe back spasm today. I cant walk or sit. Laying down is the only option. What can I do?