Firstly try another key and see if the light goes out.
If you left the key in the ignition when you changed the battery you may have spiked something.
I would take key out of the ignition, disconnect the battery for 20 mins, reconnect then try locking and unlocking using the remote fob.
If that does not work, watch the flashing light. It may give a series of flashes as a fault code eg 2 flashes, pause then 4 flashes. This may tell what the problem is.