see amalgam do last longer but it is a primitive material now ,it was discontinued due to its toxic effects on the body as it ages, also it also stains your tooth in the long run .
composites are the best if placed properly and last longer too (10yr n more) (if placed properly)
also they are aesthetic unlike amalgam .
Next Steps
please provide us the information whether the compo filling has been restored in the front tooth or the posterior ones???
Health Tips
staining of composite is rare , it may have occurred due to wrong shade selection ,
also even our very own tooth gets stained while having food ,all you can do is avoid tea coffee and other tooth staining food .