Well you don't say where you live...but that is where I would start. Figure out what is edible/medicinal native to your growing zone and plant those things.
At a previous house we had apple and pear trees which sounds all pastoral and farmy and all...but truth was most fruit fell to the ground and rotted if we weren't diligent about picking it up. So the fermenting fruit attracted billions of wasps and other bugs and all in all it was a nuisance.
Also the trees and fruit attracted deer and other wildlife...which may sound just lovely and Bambi but really it is a horrible idea to get wild mammals dependent on humans for food. On many levels and mostly to the detriment of the health and safety of the wildlife
And I currently have raspberry and blackberry bushes and wild grapes growing in my side yard, but the birds and bugs get to anything remotely edible before I can. They are welcome to it ...I go to Kroger for that stuff.
Anyway my main point is...if you have some notion that growing edible, and especially sugary, things in your yard is a no brainer and you'll be able to wander out and pick things when you feel like it, think again!