Slide the tiles back into place.
Tap a tile next to the gap, or swipe. On desktop use the arrow keys.