In the UK, the preferred spelling is analyse. In British English, it can be spelled either way, but the preferred way is analyse. In American English, analyze is the only correct spelling.
It is important to remember to remain consistent. Only use one spelling of analyze/analyse, and use either American English spellings or British English spellings throughout your document.
The QuillBot Grammar Checker can help you choose the correct spelling of analyze.