Nozzle is extruding but it is not going out consistently

The nozzle is making the filament go out all weird and half extruding.

Nozzle is extruding but it is not going out consistently and it is like stripping the gear when it goes out.

Usually, this is a sign of a partial clog in the nozzle. The solution is to try and unclog it.

Please check the following wiki to understand the issue better, and for solutions on how to unclog it:

The thing is when it does not print and I manually extrude it works well

Also it is a1mini printer