When can I be discharged from the hospital?

When you're ready. Whenever you're medically ready to be discharged and you have proper arrangement of care outside hospital if needed.
Depends. You don't mention why you are in the hospital, so it is impossible to give you an answer.