if its a single button remote there is a way to do it yourself its a lot of farting about and you need two people to do it, and it sometimes works, but worth a go.
if its two button i think, but dont quote me on this, you have to take it to the dealer.