When you have to make an unplanned stop like this, turn on your hazard warning lights. It is important that other road users have the opportunity to observe you as early as possible, so they can reduce their speed and pass you safely.