Buy first and sell next, that is the ultimate solution. Even though this is one of the options, not everyone can buy a house if there is an existing mortgage on their current house unless the bank is willing to do a bridge loan