I have my rav4 and its engine goes off when I drive, what could be the possible? on 2004 Toyota RAV4

It is a used car just imported it, it gives an alarm but I dnt know where is the button so that I cn press to stop it and this makes the engine to stop after several alarms..

3 answers
crank shaft sensor getting wrong signal
You have to get alarm fixed , or disable it,or find the button ..
aftermarket alarm or factory?