If you prepare your tempered egg yolks correctly and cook your custard slowly while stirring, you shouldn't end up with any lumps at all! But if you do, you can always run your finished custard through a fine-mesh sieve to get it smoother.