To sleep or not to sleep

Kayla

My son is almost 6 months yay! But we are having troubles with naps and sleeping at night. We’ve been cosleeping since he was born but now he just won’t sleep without a person with or at least without being in a bed because of the mattress topper etc (maybe because it’s softer than the crib mattress? I’m not sure) so now I don’t know what to do it’s hell to get him down to sleep and we go through a routine of I put him down he wakes immediately and wails for a good 30mins to an hour and then after he gets so exhausted he finally falls asleep anyway to maybe get this process easier without doing the CIO method because I’m lost. Any tips would be great!