The moss isn't the problem.
Moss gardens are gorgeous!
If you are determined to grow something else...
You need to plant something suited to the spot.
as you didn't tell us anything about the location... where you live, soil type, variety of tree...
I suggest learning to like the moss.