There is one primary X-Men film trilogy, comprising:
Numerous subsequent films—X-Men Origins: Wolverine, First Class, Days of Future Past, Apocalypse, Dark Phoenix, the Deadpool series, Logan, and The New Mutants—are prequels, sequels, spin-offs, or exist in alternate timelines, but they do not constitute a second numbered trilogy.