Question: how to train dogs not to sleep with you?
Answer: 1) Establish A New Sleeping Area for Your Dog. At this point, it may be difficult to get your dog to sleep anywhere but in your bed. ... 
2) Bedtime Behavior. When bedtime rolls around, lead your dog to the sleeping area you created in step #1. ... 
3) Your Bed Is No Longer Their Bed.