The optimal retraction setting will vary depending on the type of filament you are using and the speed of your printhead. Generally, a low retraction distance (1 millimeter or less) is recommended to avoid stringing problems.  If needed, increase this in increments of 0.5 millimeters until you find the best setting for your printer and filament. It is also essential to ensure that the speed of your printhead is fast enough, as this can lead to overshooting or wobbling on the build platform.