With one caveat….a cop is never talking to you for your best interest. A cop is always talking to you because you are a person of interest.
The caveat is if you had to contact the police because you are reporting a crime you will have to talk to the cops, but even then, you really want the assistance of an attorney. If you did anything (shot at an intruder, discharged a firearm) or posses anything (gun, drugs, large amounts of cash or precious metals) you should definitely contact a lawyer and get assistance in dealing with law enforcement.
Remember, you always have the right to remain silent. I really hope that should you need to exercise that right that you have the ability.
Now, there are hundreds of thousands of police officers in the United States and most of them are good people just trying to get through the day the same as any other person. But no matter how good of a person they are, they can make a mistake, and those mistakes can have very disparate outcomes on people like you and I. Don’t try to be helpful, don’t try to prove your own innocence, just exercise your right to be silent and use your access to counsel. Because no matter how much your attorney charges, it’ll be chump change compared to jail.