You use anyway when you are adding a remark to something you have just said. Usually the remark is something you have just thought of, and makes your previous statement seem less important or relevant.
If he doesn't apologize, I'm going to resign. I'm serious. That's what I feel like doing, anyway.
Mary doesn't want children. Not yet, anyway.
You also use anyway to change the topic of a conversation, or to show that you want to end a conversation.
‘I’ve got a terrible cold.' – ‘Have you? That’s a shame. Anyway, so you won't be coming this weekend?'
‘Anyway, I’d better go and make dinner. I'll call you again tomorrow.'
Don't confuse anyway with any way. You usually use any way in the phrase in any way, which means ‘in any respect’ or ‘by any means’.
I am not connected in any way with the medical profession.
If I can help in any way, please ask.