SMH stands for “shake my head” or “shaking my head” on the internet. It’s used to convey disappointment or amazement in the face of what seems to be evident ignorance or obliviousness.