Method number 2. Plastic corner
If the gap is within 10 mm, then you can use a plastic corner for waterproofing the joint. The plastic border is an angular profile made of PVC. Plastic corners are internal — glued to the wall before lining with tiles, or external ones — are installed directly on the tile.