If I want to relax a bit, no more than 5mg of an edible. I've taken way more at various bits in life, letting it become waaay too much of a habit, and I think it causes little but trouble. It often resulted in a bad loop of increased tolerance, being really tired the next day, slamming caffeine to over-compensate, having more anxiety to deal with, repeat...
CBD, cliche as it is to say, is actually pretty underrated as an in-between. With 1mg THC, 20mg CBD, it's very soothing without being impairing.
I think with smoking and vaping it's exceedingly easy to consume way too much. I'd recommend not more than a couple puffs, to be honest. Weed is way too strong now. My kingdom for a return to the 60's situation of weak weed and strong acid.