Security reset

I have a 2009 Nissan Sentra but the security indicator light keeps flashing and won’t let me start the engine. Is there a way to reset it?

have you tried using a different key?

No theres only one

im not familiar with your car but maybe this will help.
How to Reset an Automotive Security System (2carpros.com)