1. Use Night mode in the camera (in More on Samsung, or automatic on Pixel and many others).
2. Hold still until the capture finishes. Brace your arms or lean on something.
3. Wipe the lens. Grease causes glowing haze around lights.
4. Tap to focus on the subject and slide the brightness bar down a little to avoid blown-out lights.
5. Use the main 1x camera. Zoom and ultra-wide lenses are weaker at night.
6. Turn the flash off for scenes. Use it only for people close to you.
A cheap phone tripod makes a huge difference for night shots.