New Nintendo 3ds Xl crashes when it boots up 3ds and applications on the 3ds

I got a New 3DS XL Galaxy style and the DS game worked fine but When I used physical copies of 3DS Games it would crash and either kick me out and I would have to restart or it would freeze and I would have to restart. I’m super upset cause I payed like 350 for it and it cost me a lot to buy if anyone has any advice it would be greatly appreciated!!