Don't stand on it, just near it. Then interact with it by using the tool bar. If others (like enemy) are interacting with you may cause nothing happen when you choose the bed. You can only use the bed once per floor unless you are in prison. If you are captured by enemy and in prison, the bed in prison could use more than once, but it need hurdreds of turn to cool down.