Start by turning off the breaker and the light switch and removing the bulb.
Then remove the socket which is often held in place with a wingnut.
Once the socket is removed you could pull out the trim.
Look for a manufacturer and model name in metal housing.
This can help guide you when seeking replacement trim.
Upgrade a Recessed Light Fixture| Family Handyman