You first get enlarged on bail and wait for the police to complete the investigation and file charge sheet before trial court.
After that you can file a petition to quash the charge sheet because high court generally fo not entertain petition to quash FIR because the FIR don't reveal the details.