Security light solid, service engine soon light on, car wont start. on 2001 Pontiac Grand Am

My car wont start and i think i might have flooded the engine as well. Low on money and cant afford to go to a mechanic. I have tried to reset the security system but the light went from blinking to solid with the service engine soon still on. car won't start. dont think its the battery or starter. friend suggested alternator. anything would help.

Asked by for the 2001 Pontiac Grand Am
seek diagnostic and scan for codes.try to check your battery if have full power, i would think poss security problem.