Motion to quash the warrant. You will need to file it yourself and appear in court or hire an experienced criminal defense attorney to file the motion and appear with you. The Judge may quash the warrant and set a cash bond if you were on an I bond, or quash the warrant and reinstate the bond.
It would be hard to prove that you had possession of the drugs, even constructive possession. Do not speak with law enforcement, do not discuss with friends or family. All of these people could be called as witnesses against you if you discuss this with them. Hire a lawyer to protect your rights or have one that you can contact if the police want to speak with you or if you are charged with a crime.