The app uses a compass (if your device has it) to determine the direction. In navigation (while you move) the GPS data is used, and if you are standing still or moving at a low speed, a compass is used.
The operation of the compass depends on your device, the level of interference (magnetic fields and other environmental conditions), so you may need to calibrate the compass, for example, if the blue arrow on the map indicates an incorrect direction.
On Android to calibrate the compass, rotate your device 1-2 times around 3 axes. You can also use third-party apps to calibrate the compass, for example, GPS Status for Android (in the app menu tap Tools → select compass calibration).
Note: if you have issues with compass after 8.3.6 update, you can install previous version. Make a backup for bookmarks, uninstall current version, download and install version 8.2.9. please make backup of bookmarks, uninstall current version, download and install the previous version (8.2.9). If this doesn't help, please let us know (the app settings → Help → Feedback → Report a bug). We're investigating the issue and do our best to fix it in one of the future updates.
On iOS the system itself will offer to calibrate the compass in case if it's necessary. To enable/disable compass calibration, open Settings → Privacy → Geolocation Services → System Services → Calibrate Compass.