This tends to be peoples number one concern in regards to an anarcho system.
The short answer being, laws and law enforcement is an economic good. In the absence of the state, private law enforcement companies would fill the void.
http://www.daviddfriedman.com/Libert...hapter_29.html
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This explains it better than I ever could.