Sorry, but there is no reset button for a flooded car!
I have no idea just how "flooded" your BMW was but your problem could be something minor (unlikely) to a situation where the car would be totalled out.
Flooding is NOT a good thing. Have a shop that knows what they are doing take a look at it. All we can do here is guess and that is never a good thing.