Hello
Check below steps:
Check Wiring: Ensure your extruder motor wiring is correctly connected to the stepper driver.
Motor Direction Configuration: In your printer firmware configuration, look for settings like INVERT_E0_DIR (or similar). If inverted, toggle the value (e.g., from true to false).
Upload Firmware: Save the changes, upload updated firmware to your printer.
Test Movement: Test the extruder movement using arrows to verify the direction is now correct.
Hope it helps you.