The action that happens without our thinking about it is reflex action.
Technically, reflex actions are involuntary movements caused by the brain in response to a stimuli. For example, an individual does not think about breathing or twitching a knee but then these things happen due to some outside interference or action.