Asserting that his government will take necessary action on MLA PV Anwars allegation on Kerala police officers, Chief Minister Pinarayi Vijayan said on Saturday that Anwar should have brought these matters to the partys attention first rather than publicly discussing the matter in the media.