You may have flooded it while it was on it's side, pretty common. Have you been able to get it started since?
Make sure the kill switch is not on(Easy to miss sometimes) and then maybe check that the battery is ok and not damaged.
Let us know hoe you get on.
Sounds like you grabbed just the front brake, and you suffered from what is known as a lowside where the front wheel as washed our from under you and the bike has gone down. I would suggest learning to activate both brakes in an emergency by playing around in an area where there is no traffic like a large carpark. Get yourself up to a certain speed and practice hard braking. First, use only the rear, then only the front, then both front and rear and gauge the differences. Rear only will be the longest stopping difference, front slightly shorter, and both is the most effective.
Try not to anticipate too much, or find a start point that you use like a line on the ground and use it every time.
You can never known when you an incident like you experienced is going to happen, but if you can better prepare you body reactions by practice, next time you find yourself in this situation you will be better prepared, and hopefully not have an accident.