This is normal, especially when used for a long period of time at a low speed. Set the speed to maximum and run it with no load for 2-3 minutes to cool the motor.
Always use a sandpaper that is suitable for the material you want to sand.