Sergio Perez will have to be on his best behaviour for the next 15 F1 races to avoid a potential ban.