Is this a new install? Did it ever work right?
Is there a separate diverter valve? If so, it may need service.
If not, the likely problem is that you used either cpvc or pex piping to connect the spout. This has a smaller ID and creates enough backpressure to force some water out the showerhead. Otherwise, there's something partially clogging the path to the spout.