“This bag? Susan gave it to me. By the way, are you planning anything for her birthday?” 「このバッグ?スーザンにもらったよ。ところで彼女の誕生日には何する予定?」

By the wayで新しい話題に切りかえます。完全に新しい話題でもいいですが、会話に出てきたことによって思い出さされたことも多いです。「じゃ、土曜日にね!あっ、そういえば、日焼け止め持ってきてくれる?」

We can use “by the way” to introduce a change of topic. It can be a completely new subject, but sometimes it’s a related subject that the speaker remembered because of something that came up in the conversation. “See you on Saturday! By the way, could you bring the sunscreen?”