You can read more about FxCop in below url:
msdn url for FxCop
Steps to follow:
1.Build your VS project using "Release" mode
2.Open Installed FxCop and open new project
3.Set appropriate rules to be use when analysis running
5.Run analysis
6.View results and apply fixes