So long as you are not risking your well-being, you can place flares and/or warning triangles behind your vehicle so oncoming traffic knows to drive around it.
How To Handle Car Trouble While Driving

