Need help about clicks...

Ok I am now trying the buffer sizes. But I have a new problem. When I open Cubase It says “Sample rate could not be set. This may be due to the sample clock being set to externel sync.” If I close and re open cubase it didn’t fix anything. Everytime I see this dialog box I have to restart my computer to fix it. Any Idea?