Any tips

Any tips on putting baby down to sleep? It’s like impossible to put my baby down. He wakes up pretty quickly once he realizes I’m not holding him anymore. We always swaddle him before and it works for a little. Not swaddling him before he notices right away. Last night I fell asleep laying down with him in my arms and we were both out for like 4 hours. I know that’s not safe so I don’t wanna get in the habit of that. ftm here thanks in advance...