When the doctor discharges you, the nurse will give you all your documents.
It is incumbent on you to properly follow all the instructions staff members give you and to carefully read the information provided. In addition, make sure that you have in your possession any prescriptions and/or other documents (hospital card, etc.).
Above all, do not hesitate to ask questions or share any concerns you have before you leave the hospital. The staff is there to reassure you.