Co sleeping /bed sharing

Any tips for ensuring safety while co sleeping/bed sharing with our baby when we do?