Once a cavity
starts, there's no way to reverse it by yourself.
Nearly always, the infected/softened part of the tooth has to be removed, the remaining tooth cleaned & conditioned, & the missing part of the tooth replaced with a modern dental material. In very, very small cavities, newer techniques allow us to repair it without removing any tooth structure. Get it fixed while it's small and easy.