If you are speaking to a young child over whom you have control, #2 is OK. You are telling them what to do. You are not leaving the decision up to them.
If you are speaking to a teenager, you would use #1. You are suggesting they go to bed but leaving the decision up to them.