Any suggestions why car just stops and will not restart? on 1998 Volkswagen Beetle

Driving down road and car just shuts off. Have changed oil, oil filter & fuel filter. This is a 98 beetle diesel. Thanks for any help.

2 answers 1 comment
That happens to me but ONLY when I need to put gas in my car and it's almost on the red. Does it every time..
could be a fuse. does it crank over or completely dead?
It turns over but it just will not start.