3 Prong Or 4 Prong Dryer Outlet

My dryer has a 3 prong to 4 prong plug setup and my dryer is not working right, what am i doing wrong how to wire a 3wire clothes dryer you may find yourself with either a 3wire or 4wire electric dryer, or a 3wire or 4wire outlet.