/pʊt ðə kɑːt bɪˈfo(ː)ɹ ðə hɔːɹs/
Do things in the wrong order.
“He put the cart before the horse by planning ahead.”