Yep, Earth’s magnetic field may switch, it has happened along the geologic history (geomagnetic reversal). We can do little to avoid it (or predict it) but something we will have to do to mitigate eventual consequences (surely not a big deal, see this wiki on effects on biosphere, or this article on Medical Daily, or this short essay on technological hazards).
Top animation: This animation shows the movement of the north magnetic pole at 10-year intervals from 1970 to 2020. The red and blue lines indicate “declination,” the difference between magnetic north and true north depending on where one is standing; on the green line, a compass would point to true north.
Bottom animation: In this animation, the blue lines indicate a weaker magnetic field, the red lines a stronger one, and the green line the boundary between them, at 10-year intervals from 1910 to 2020. The field is weakening over South America, and the red area over North America is losing strength.