try slaming the hood of the car if that knocks it off then its a loose connection
but
you need to get it looked at by a mechanic, as far as i know the airbag will not work in an accident if the warning light is on
On some cars the airbag light comes on after a few years to let you know the SRS needs a service maybe this is the case