Lines not all on the Z zero plane

How do I get all the components of my drawing to be on the Z zero plane