Sometimes they will say, qué pasa, que pasó, or que te pasó to mean what's wrong or what happened. If you're trying to say what's up, I would recommend qué ondas, qué tal, que haces - this one meaning what are you doing. If you have any other Spanish questions feel free to ask.