The flag edge with the zig zag should be a closed path with a fill, and each of the tags should be a continuous single path reaching or going underneath the flag edge (you may close them).
The pole should be beneath the flag edge and the tags.
You may see the stacking order in the Layers palette/panel.
I hope this is enough: three quarters after midnight here, time to attend to other duties.
thank you very much for your response! Unfortunately, the image/paths are all on just one layer. I used the pen tool in Photoshop to draw this, and then exported the Photoshop paths into Illustrator and stroked the lines...
Look at the object stack (Layer panel, sublayers).
You can use the Shape Builder tool to delete the unwanted portions of intersecting paths. For example, AltDrag the ShapeBuilder tool across the two sides of the flagpole inside the ribbon. See online help about using the Shape Builder tool.