you probably just strained an erector, I have done it many times, rest it.
it's too late now, but the first 48 hours you should have applied ice to your back for 15 minute sessions, at this point you might want to apply heat to help relax and loosen it.