Security System

Can the security system on car be turned off or by-passed. It is acting up on our car and is not wanted

I left the ignition key on for 10 minutes and security light went out and car started. Is this the only fix.