SMH stands for “shaking my head.” It can express disbelief, frustration, or playful disappointment.

“We left the tickets on the kitchen table. SMH.”
The reaction can be aimed at the sender’s own mistake. When it follows a criticism of someone else, it can sound dismissive.