Normally I don't recommend cleaning power filters until they have finished cycling. However, if the filter flow has been reduced, then clean it.
Turn the filter off at the power point and unplug it. Remove the filter from the tank and put it in a clean fish bucket. Open the case up and remove the filter media (sponge, ceramic beads, etc).
Get a fish bucket and half fill it with tank water. Squeeze the filter sponges out in the bucket of tank water. Wash the other filter media in the bucket of tank water too. If you have carbon (black granulated substance) then throw it away and don't bother replacing it. Just put a sponge in its place.
When the sponge and other filter media are clean, put them in the aquarium.
The motor should have a plastic cover that holds the impellor in place. The impellor is a magnet with some plastic blades attached to one end. This needs to be taken out and cleaned under tap water.
The impellor should have a steel rod/ shaft that runs through the middle of it. On either end of the steel shaft there is usually a rubber grommet that stops the impellor coming off the shaft. Some models have a small plastic washed under the rubber grommet. Be careful not to lose these bits. They are small and fiddly so be careful.
Once you have removed the impellor assembly and cleaned it, you clean the inside of the motor when the impellor sits. Just wash this under tap water. Don't worry about water getting into the electrical components of the motor because they seal them up in a resin that makes them water proof.
When everything has been cleaned, you put the impellor back in the motor and put the cover back on. Put the filter media that is in the tank, back in the filter case. Connect it all up and put it in the tank. Dry your hands and the plug before plugging the filter back into the power socket. Turn the power on and watch the fish freak out because water is going everywhere.