The answer is: put your child to bed lovingly.
Small infants tend to unable to sleep well if they don't feel safe in the environment around them. Putting the child to bed lovingly would inform the infants that they are loved and protected in their environment.
Co-sleep indeed provide the same sense of security, but it is not recommended for young infants because the parents could easily roll over during their sleep and crush the infants in the process.