the best is see minimap and be alert.....if farming at least buy a tp scroll so can tp back....if no tp scroll....and if u happen to be on the top and bottom lane, hide in forest and go goblin shop and buy a tp scroll and tp back...try to sense a possible bs when u see all the opponent colours are missing from the minimap....and the more further u push, the more likely u kena bs....but if u happen to see an encounter with multiple oppents....wait for the oppent to cast the skill first then tp....if not halfway u tp then kena the skill. so eg. wait for treant to root u or their teamate to stun u first, after stun when their skill cooldwn, u tp right away to base or seperate lane to farm.
if u rich, get a gem....or even better get a gem and aegis(after roshanning of coz).
or make full use of ur hero skills if they can destroy trees etc lina inverse, beastmaster all can destroy treess