The correct response in this situation is: be alert for pedestrians near the bus.
When a local bus is stopped, especially if it has its lights flashing, it's important to remain vigilant as pedestrians may be crossing the road to board or leave the bus. Depending on local laws, you may also be required to stop if you are facing the bus or if you are directly behind it, but the key principle is to always be alert for people in the vicinity.