Upgrade Query

We have just upgraded from X3 to X5 but X3 is still installed.......do we need to delete X3 or will the X5 upgrade not work without it?