From The Black Books of Elverum, Mary S. Rustad edition:
To avoid bullets
When you hear gunfire, pull up the sod under your right foot. Turn it and lay the green side down. As long as the sod lies this way, guns cannot fire at you.
The grimoire The Black Books of Elverum lists this spell.
Timeline of related events