Writing can change the brain and promote resilience. Writing or typing our thoughts out can help shift our mental state.