Help

When I try choosing a color for transparency in MS Paint, no matter what I do, it always switches to black. This is really annoying since I’m always having to repaint some black parts of my gifs. I know this is a pallete problem, but I don’t know hot to fix.