Take pain medication — It is not uncommon to have some slight discomfort after the procedure. Using over the counter pain medicine such as ibuprofen should work.
Notify your dentist if pain still occurs — If you still have pain a week or more after your filling, you could still have bacteria in your tooth. This may need more intensive procedures.
Maintain proper oral hygiene — Your filling is susceptible to the conditions of the rest of your teeth. Without regular brushing and flossing, your composites could fall out.