When you approach a criminal defense attorney to ask them to represent you and defend you in a court of law, they would have a lot of questions that you would need to answer before they can confidently say that they know everything that they need to know and can proceed accordingly. After you have given them all of the information that they require, it would be their responsibility to start building a case that would hold up when a prosecutor starts cross-questioning about this sort of thing.
The first step that your lawyer should take would involve establishing your alibi. If you can prove that you were not in a position to commit the crime that you are being accused of, it would simply not be possible for any jury to deem you guilty in good conscience. All of the top local criminal attorneys are going to first focus on figuring out your alibi. The key here is to make sure that the alibi can hold up during cross-questioning. Otherwise, the prosecutor will be able to pick it apart, and nothing would hurt your case more than your alibi falling apart at the first sign of inquiry.
You need to think about your alibi as well. It needs to imply that you were very busy on the night or day when the crime occurred, and if you have witnesses that can prove your alibi to be true, then this would be a huge blow to the case that the prosecution might be trying to build against you at this current point in time and it could help turn the tide so that you’d be declared innocent.