Mouse problem

when i pull my mouse all the way to the left corner or all the way up, it start pulling my mouse back in the middle i can’t move Around normal whitout its glitching becouse og the problem