Keep it simple and do it soon.
A short message within a day or two is usually enough. Mention something specific you talked about so the note feels personal, not generic.
If there is a clear next step, suggest it directly. If not, a simple thank-you and a LinkedIn connection is enough.
