If it's mis-firing then I would definitely not drive it unless
it is an emergency.
If you bought it from a dealer/garage then I would have taken
it back the minute that there was the first showing of the EML
(Engine Management Light) as every secondhand vehicle
purchased from a dealer or garage legally must have a minimum
of a 6 month warranty, and they should be the one's you take
the car back to to be fixed/sorted. You must not take it to
ANY other dealer/garage or allow them to do ANY work
on it; even a diagnostics; as that will then void the warranty
that you have.
And do not for one miniute think that taking it into an MB dealer
should not affect that, because it will !. Whosever sold you
the car and that you have the warranty with (unless it is the same
MB dealer you are taking it in to to be checked) will then be able
to say that any problems were 'brought on' by the 'other' dealer
or garage and they will then wipe their hands of it.
Trust me, I have heard of this happening...and it has left the poor
owner with a car that is not fixed, no warranty and no one accepting
responsibilty or liability for whatever the problem is.
If however you sourced it privately, then you have no warranty.