Cart before the horse

Cart before the horse

Putting the cart before the horse is when people try to present solutions without know what the actual problem was in the first place.