ER6 wont run????????????????

Hi,my ER6 race bike crashed {low side} and now wont run more than 20 seconds before cutting out.I have just replaced the tip over sensor with no difference,I also have turned the sensor over when it is running with no difference.Need some "good" advice in a hurry please,cheers Steve