My car will not go in reverse or in drive what's wrong with it?

I got VW sharan 2007 Auto Diesel cannot drive in Reverse while car cold after driveing hlf a Mile forward it fineplease help its been like this over a year