Sergio Perez says F1 should be an example for the rest of the world as he condemns his father's homophobic comments on Ralf Schumacher.