Moss is an opportunistic plant that will establish itself anywhere where it can find shade or moisture. And moss can be a difficult plant to be rid of. You can physically remove it or spray it with chemical concoctions, but it will soon crop back up as long as conditions remain ideal. The best way to kill moss for good is by using natural methods. If you change the environment where it thrives, you can prevent it from cropping up again.
Physically remove the moss. Moss can simply be raked off of the lawn. For concrete, tile and other hard surfaces, douse the mossy area with boiling water. Then use a scrub brush dipped in a solution of 1 part vinegar to 3 parts water to scrub it away. The boiling water kills the moss while the vinegar will clean away the organic matter and dirt that the moss needs to adhere itself to hard surfaces.
Expose the mossy area to the sunlight. Trim any overhanging branches and move the shed and consider replacing your wooden fence with a chain link one. Sunlight is one of the most effective moss killers and preventives out there.
Troubleshoot your lawn in the areas where moss needed to be removed. Excessive moss growth is often a sign that your grass is under the weather. Plant more shade-resistant varieties in shady patches of your lawn. Research the fertilization rates and mowing height for your grass variety to make sure that it is adequately fed and cared for.
Test your soil. It may be too acidic or sandy, conditions that moss loves. In either case, amend the soil appropriately.