Whenever your attacked by someone and are beaten the police show up to take a report, they also hang around to make sure your not attacked again, your "protected". Usually they hang around until the next day.
You will lose your protection if you loggin again the same day, you can be attacked a second time, I found it best to loggin only once per day, those multiple beatings take thier toll.