To put the cart before the horse. meaning

HOME PROVERBS

doing

To put the cart before the horse.

said when:
Someone is doing things in the wrong order: