The pain after dental filling is due to the following reasons: 1. Carious tooth left underneath the filling 2. Material not cemented properly 3. Microleakage So, there are chances that in your case either the caries has starting building underneath the filling or microleakage has started. I would advise you to visit a dentist
and get an X-ray done to know the exact cause.