Keyless remote programmig 2003 Yukon XL

I have tried process of holding down unlock switch and turn ignition (2)times then holding down buttons on remote, exiting but remote responds during set up but does not work after??