I agree with Mr. Keller. You should retain an attorney and speak with him or her. If you cannot afford an attorney then apply for the public defender. I highly recommend refraining from placing any more information about the case on the internet.
Dismissal of the charges might be overly optimistic. But that does not mean that you would be found 'guilty' of the offense. Courts will generally 'dismiss' charges only where there is an abject absence of evidence to support one of the necessary legal elements of the offense. If 'some' evidence exists to support each of the necessary elements, then the Court is generally obligated to allow the case to proceed to trial. That evidence may satisfy the 'probable cause' standard, but may fall far short of proof 'beyond reasonable doubt' at trial. I absolutely agree that you need an experienced and skilled criminal defense lawyer to explore and develop all fact defenses you have in this situation.
Mr. Keller has provided the only answer there is to your question. You must have the assistance. Talk to one or more in private. Most here offer free consultations. I suggest you start talking to them now. Good luck.