Sleeping in bed...

It's an alpha dog/dominance thing. Dog needs to learn that you are the alpha. You eat before him, you go through doorways before him, everything you do you lead he follows. Once that is established then he can get up on the bed AFTER he's commanded to do so.