Cavities should be treated in the initial stage only to prevent further damage to the tooth. But though its already a year you hav a cavity, it might hav gone lillte deeper. You first need a xray to know the extent of damage and then go for filling procedure, either normal
or root canal
. Or if completely destroyed and cannot be saved then extraction.