You mean a 'FOID' card.
Go to a gun shop and they will take care of it. You'll need a picture ID (driver's license) and they will give you the form to fill out. They will take your picture. Pay the fee($5 I think) and they will submit to the state.
The state police will do a background check and if ok, you'll get the new card in the mail.