After a complaint is filed or an indictment is issued, the defendant will appear in court to be informed of the charges and to enter a plea.  this is called the arraignment.
Typically a defendant will enter a "not guilty" plea and be scheduled for a disposition conference.  At this time, the District Attorney's Office hands over copies of all the evidence, also called "discovery."