If you've been naughty the police will arrest you. Depending on your naughtiness they can either let you off with a Caution, meaning next time they'll charge you. Or if its serious enough they will charge you straight away which is when you get taken to court