Lure them out with infantry

Note that if you are on the defensive you can deploy in clear ground and the enemy will attack you, they will also do this if they have a huge advantage.

But you could also try not to fight near forests :)