Sorry, can you say it again?
Sorry, what did you say?
Excuse me, can you repeat what you said again?
All are acceptable. There are many variations. It's all good as long as the meaning gets across.
"Sorry" and "Excuse me" are used when you want to sound more polite. You can choose not to use them.