A lot depends on the situation you are in. If you are unsure and scared, I would suggest clamming up and calling a lawyer. If it is nothing serious and not a big deal, I see know reason not giving the police full cooperation and honesty. It will only help you in the long run.
If someone has had a history of bad experiences with police. Often times it might have something to do with there own prejudices toward law enforcement. Cooperation, respect and a good demeanor can go a long way with police interactions.
That is not to say there are not some bad apples that carry a badge and gun. There are. But they are the exception, not the norm.
Just like the guy who has lots of bad interactions with the police. That guy is the exception, not the norm.
If I shot some guys that bust into my house. First call would be to the police, immediately followed with a call to my lawyer.