The first thing you need to realize that the prosecution has the burden of proving beyond a reasonable doubt each and every element of a cause of action against a person. In the situation that you write about, since you were not even stopped by the officer who wrote you up on a ticket for being "drunk", the office has no basis for the claim that you were "drunk" since he or she had no personal contact with you.Although it is always best to attend a criminal hearing with a lawyer, should you not retain one, I would defend myself as to the ticket by stating the police officer did not stop the person who was driving the car at the time assuming it was you. By not having contact with the driver, there is no foundation for the claim that the driver was "drunk".