a beginner in/at something

Is it correct to say :I am a beginner in/at something?

I’m assuming that “something” is an activity, like yoga, or chess, or whatever.

Both “at” and “in” are used. To me personally, “at” feels more natural.