I was driving my 2002 bmw 745i I cut the car off and it will not crank.. It

on 2002 BMW 745i

It jus says power module malfunction,engine failure loss/lack of power I took the battery off then put it back on now the inside lights are blinking on and off.... Please help... I just bought the car..

Asked by for the 2002 BMW 745i