We need more details
Which Arduino, compiler version, OS version, example code, full error message
The easier you make it to read and copy the code the more likely it is that you will get help
Please follow the advice given in the link below when posting code , use code tags and post the code here