Help! My newborn won't sleep anywhere but my arms

Ashley

My 5 week old did not like his bassinet so we tried rock n play and he woke up every hour or so from that. We started letting him lay in the recliner with us because he sleeps 3-5 hours. How can we get him to sleep in his bassinet et? If he is sleeping and I put him in it he wakes up 1 min later and is screaming. Also think he had bad gas and belly aches and maybe that makes him want us but he won't even nap unless he is sleeping on us