This should be fixed on its own with a server reset, but if that doesn't happen for awhile you might need something else. Did you attack anything that was non-hostile? Like a mouse, or accidently whacking anyone, etc? Though the guards would attack too, in that case. I think.