The standard English spelling is anyway. The American dialectical anyways mostly appears in speech and should be considered non-standard in writing.
When used at the beginning of a sentence to mean “as I was saying,” it is best to use nevertheless in formal writing, since both anyway and anyhow are more casual in tone and style.