key wont program on 2000 Buick Park Avenue

just aquired had no key so had dealer make me on, went home to program and the security light is on the whole time and wont do nothing

2 answers
Go to Google, look up how to reprogram key on your model. you should find something that will help you out
maybe you need to have the dealer program the key for you