My smart no longer switches automatically (manually, however)

Hello together, Since a while my Smart fortwo Bj12/2003 Diesel only manually and no longer automatically switches. It thus does not drive the gears anymore. 1speed up to 25 2speed up to 40 3speed up to 60 etc. What could this be about??? Must say that this problem occurred 14days ago but after a few hours it was gone again u today it came again.Can’t judge yet if he does again normal driving u by itself. About an answer I would be very grateful… Dear greetings……