Ipc 304a

I met with a motor accident, i was going to office on bike, it happened on a traffic signal the signal was green and i was going and one pedestrian tired to run and cross the road,i applied brakes but we had a collision and we both fell down, i got no injuries but he fell down and got injuries,i was not doing rash driving, i took him to nearest hospital and stabilized him, after he was stabilized we took him to another hospital for more checkups, till then he was normal after that i went to traffic police station they seized my bike, i have a valid DL and RC and bike insurance, but on second day the pedestrian died, doctors told he had some head injury. now tr police have registered a complaint against me under ipc act 279,304A, police told me about all the formalities after rto inspection and other formalities on the 3rd day they released my bike, on the 3rd day they took me to court for 1st hearing and i got the bail after paying the bail bond.so my question is 1.how to proceed in this case? 2.how much time court takes to solve this case?