Pensamos lo que hemos de hacer

We think of what we are about to do

Before we do anything, we must think about what we are going to do and its consequences.

We think before we do anything.