My tailgate will not open with the key or button . on 2001 Volkswagen Passat

It was playing up a little when using the key but button was working , the remote on key has not worked since I got it

Asked by for the 2001 Volkswagen Passat
1 answer
needs programming??? i think.