Left click uses background color and right click uses foreground color

I don’t know what I did or how it happened, but when i try to draw like i usually do, however it uses the secondary colors instead of the colors i equipped, i can only use the color i picked with the eyedropper with right click. i only have this issue with the brush and need help since it’s really bugging me out. its difficult to continue. i searched it up before for solutions but all the things i tried didn’t work.

Please if anyone here can help me with this i would appreciate it.