you live and learn mate.
I always make sure my car is on a flat and level surface when i fill my oil up. If its on a slope then it may seem like you haven't put enough in when really you have, thus you then put more in and then its overfilled.
Just drain some out, it should be ok then.