About duplicate reads

How did i deal with possible PCR or optical duplicate reads in my metagenomic sample?
I am concerned that will remove too many reads, affecting abundance estimates. On the other
hand, if duplicates are left in, that also effects abundance estimates.
How should I deal with this problem?