A Jersey City man is accused of overdosing on heroin while taking care of his two young children, according to a police report.

Ricardo Vargas, 42, of Bowers Street, is charged with endangering the welfare of a child.

On Aug. 9, police and Jersey City Medical Center-Barnabas Health EMTs responded to a call at an apartment on Reservoir Avenue and found Vargas on the living room floor unconscious and unresponsive, but breathing, according to the police report.

The EMTs evaluated Vargas and determined that he was under the influence of a narcotic, the report stated. After numerous attempts to wake Vargas, EMTs injected him with Narcan, a drug used to counter the effects of opioid overdose, according to police.

According to the police report, Vargas was in charge of watching the two children, ages 1 and 4 years old, because the mother of the children, Vargas’ girlfriend, was in the hospital. Police contacted child protection officials and arrested Vargas at the apartment, the report stated.

Vargas appeared in Central Judicial Processing court in Jersey City yesterday via video link from the Hudson County Correctional Facility in Kearny. Judge Margaret Marley did not set a bail for Vargas, but informed him that his bail would be set by a Superior Court judge at a hearing where representatives of the Hudson County Special Victims Unit would be present.