Extrusion tool

Sometimes when I use the extrusion tool, it extrudes in a straight axis. (The screenshot is an example). If I close blender and reopen it, it fixes, but this is extremely annoying. If anyone has a different way of solving it (instead of having to close my blender file every time it happens) it would be helpful!