Temper tantrum today

How would you deal with it? It annoyed me! Coming home from the park and my child refused to walk (normally walks everywhere and loves it) but had a temper tantrum when I picked her up to carry her. Erm how else are we supposed to get home then!! This has never happened before 😞