How do you say captain in spanish?

"capitán" (noun)

and "capitanear" (verb, e.g. captain a ship)