Accidents happen and it's important to react calmly or children may start to get anxious. I planned a few days at home with DD when we first started potty training, building up to short outings and finally longer outings.
Always ask your child to try to have a go on the potty before going out so they get into the habit and don't forget spare pants!
I used puppy pads in the car as they were cheap and disposable.
.