I try to companion plant when possible.
It is also good rotate your crops and to let your soil rest every 7 years. Even the Bible teaches that in Exodus 23:11.
Most of my gardening is raised beds. With raised beds, rotating is easy. And, each year I add more soil and manure, straw and such to the beds. That keeps the soil from getting striped of nitrogen, and other nutrients.