Non starter.

Question

Mercedes S320 CDi, 2001.
The engine turns, sometimes tries to start, but unfortunately it doesn't.
Then it starts and runs ok, but if I park it and leave it then the problem starts again.
And now it doesn't start at all.
Only happened in the past few days.
I had run the fuel low and since then this problem has started.
Please help.