Mischa Barton really learned her lesson