how to stop water from coming out facet instead of shower head

Was wondering if anyone could recommend to stop the water from coming out of the facet instead of the shower head above. Can't afford a plumber right now and was hoping for a bandaid until I could get this fixed permanently. When I pull the nozzle on top of the facet head in the shower, the water is supposed to be diverted to the shower head which is above the picture. It recently stopped working. I tried everything I could think of.

Spouts are generally attached in one of two ways: screw on, or push-on with a set screw to hold it where you want it. Either one is fairly easy to replace. Other than trying to see a hole in the bottom and then finding the screw slot or hole for an allen wrench, both of them normally come off easily. If they used caulk around the end of the spout, you have to cut through that to loosen it up. If it is screw on, then stick the handle of something like a screwdriver in the spout to give you some leverage and turn it counter-clockwise to remove. If it's a push-on, loosen the screw holding it a few turns, then literally, just pull it off.

Spouts are generally attached in one of two ways: screw on, or push-on with a set screw to hold it where you want it. Either one is fairly easy to replace. Other than trying to see a hole in the bottom and then finding the screw slot or hole for an allen wrench, both of them normally come off easily. If they used caulk around the end of the spout, you have to cut through that to loosen it up. If it is screw on, then stick the handle of something like a screwdriver in the spout to give you some leverage and turn it counter-clockwise to remove. If it's a push-on, loosen the screw holding it a few turns, then literally, just pull it off.