God knows. The whole thing is turning into a joke. The guys who led the Leave campaign have all pretty much admitted they had no idea what they'd do if they won and also retracted just about every promise/claim they made. Boris Johnson looks shellshocked as he was just gameplaying trying to become Prime Minister but didn't really expect to win the referendum. Two thirds of Parliament are opposed to us leaving and the internet is full of morons saying 'well i voted leave but I didn't mean it' or 'Will we still get money from the EU if we leave?'. Cornwall council ( who never said anything in the run up and are one of the largest beneficiaries of EU money) have said the Leave campaign told them their money was safe FFS. It appears as if there would be a wholly different result if the vote happened again today.
As far as what happens from here, there's no precedent. It is technically non-binding, and as none of the parties ran a Leave campaign there's sort of no requirement that they vote to leave in Parliament but would it be political suicide ignoring the 'will of the people'. Scotland is in a rather odd position. It would seem they can refuse to accept the decision but if they allow it to go ahead it will strengthen their hand if they have another vote on devolution. Effectively Nicola Sturgeon can choose between what she thinks is best for the UK and what she thinks is best for Scotland. In the meantime, outside investment is frozen and we've got banks thinking of moving their 1.3 trillion a day euro transactions away sooner rather than later.