Built-in microphones are usually not built with the appropriate noise protection and frequency response needed for a 'good' live-concert recording. You usually need to resort to 3rd party accessories for that (AKA a good microphone).
You can try putting a piece of filter (foam, fabric, etc.) on top of the microphone for your phone and see if that improves the noise cutoff from loud noises, but you also need to keep the phone not moving, vibrating or being touched to avoid secondhand noise from handling the device.