In American English, the standard phrase is "on the weekend" (e.g., "What are you doing on the weekend?").
In British English, "at the weekend" is commonly used and considered correct.
Both are acceptable in their respective dialects; neither is universally "wrong."