The present invention relates to nucleosides or nucleoside analog reverse transcriptase inhibitor that a kind of depot formulation includes the compound incorporation of biodegradable silica hydrogel, its silica hydrogel is compound can include by mixing silica particle the nucleosides or nucleoside analog reverse transcriptase inhibitor and with maximum gauge≤1 000 μm, as former state or as suspension, with silica solution, wherein hydrogel is compound, and stable storing is static when being in immobilising and structure and shear thinning is when shear stress is injected to apply. The present invention also relates to use depot formulation treatment chronic viral chronic viral infection and prevent from infecting again. The invention further relates to a kind of syringes filled in advance including the depot formulation.