How to burp a preemie

Zoya • always tired mommy 😈😅💙
A first time mom with twin teeny tiny babies who came 8 weeks early, i don't know how to burp them, 😖 one day my baby boy threw up milk through his nose and mouth and mucus with it, i was terrified, was it because he was not burped well!?