Did your doctor make you get on bc ??

After giving birth did the doctors tell you, you have to get on birth control before leaving ?

After i had my son they told me i had to get on birth control and it had to be the depo shot or the arm implant or whatever and i asked why and she never gave me a reason she just said i had to before being discharged.