Help please

I had my baby 4 days ago and he’s spitting up in his sleep and choking on it and I can’t sleep or put him down because I’m so worried.. any way I can prevent this? I burp him, I wait to lay him down after feedings