Any recommendations to treat cavities?
Depends on the size
You should get an examination and discuss your treatment options with your doctor. Fillings, onlays, crowns, root canal and extraction are just the broad strokes.
Choosing the right material should also be a factor.