I usually give my characters two or three guiding attributes, some positive and some negative. A character might be brave jaded and traumatized for example. Whenever I'm unsure about what a character will do, I go back to those aspects and a response usually writes itself.