Dummy etiquette

Is it wrong if you are dummy to stop declarer from playing incorrectly from the board or their hand? “You’re on the board, partner”