what does it mean?

She will have to undergo an operation.
it means she need a surgery?

Yes.

(In fact, we say “she needs surgery”. “surgery” in this sense is normally uncountable.)