Im very new and have a little problem i need help with I hot that glitch when i tried to animate

HI, without the file it’s hard to say, but it looks like weighting related issue.

That looks like weight issues, or bones in the wrong direction. Either way, one needs to see the project file to be able to provide help