If you ever overdose on anything and a doctor comes to help you, tell them the truth. Even if the thing you overdosed on is illegal.
Their job is to save your life. They will not report you to the police. Lying to them will only make it harder for them to help you.