The right choice depends on your interests.
If you enjoy creating posters, advertisements, branding materials, social media creatives, illustrations, and other visual content, Graphic Design may be a suitable field to explore.
If you are more interested in websites, mobile apps, digital interfaces, user behavior, and solving usability problems, UI/UX Design may be more relevant.
You can also learn both. A strong foundation in graphic design can help students develop visual skills that are useful when moving into UI/UX design.