Rear lights blinking won't start and making ticking sound on 2006 Mercury Montego

I turned the car off in my driveway and it will not start, but the rear lights are blinking and when you are sitting inside car you can hear a ticking sound that doesn't cease.

Asked by for the 2006 Mercury Montego
this may be caused by a alarm problem, try locking and unlocking the car from the drivers door and the pasenger door. also if ther is a key fob also try that.