Networking tips

What would you guys say is a good methodology for networking be it in person or online? What’s your step by step process that’s worked for you?