There're many methods for this, such as the very simple one, median filter which is good for pepper and salt noise. You can type 'help imfilter' under MATLAB and it gives you examples of how to use it. Other well known methods are wavelets, Wiener filter, etc (also built-in under MATLAB). It's still an ongoing research topic and you can find new articles of state-of-the-art in research journals.