Baby sleep

I need some advice. My 2 month old son Will not sleep in his bed and non stop with cry intell I pick him up and iv tried holding him till he is fully asleep then lay him down but he will just wake up again but if I do hold him he will stay asleep for a few hours . But he also likes sleeping in his swing. I need some advice on what I should do or try cause I dont get any sleep now