how can i reprogram my bcm on 2002 GMC Yukon XL Denali

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
the battery is new and keeps going dead and the locks only work with a key.the bcm is new it was programmed wrong
(1) Answer
Take it back to where it was repaired, if they are a reputable company,they will help you out. Goodluck