There's a decent chance that this will spur the EU into proposing a package of reforms with a view towards a second referendum. Technically, this referendum was an advisory referendum (i.e. its result is not legally binding).
If that doesn't happen, I would expect the UK to shift from membership of the EU to membership of the European Economic Area (alongside Norway and Iceland) or similar.