I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
- Select File > Preferences from the Arduino IDE's menus.
- Check the checkbox next to "Show verbose output during: upload".
- Click the OK button.
- Select Tools > Burn Bootloader from the Arduino IDE's menus.
- After the Burn Bootloader process fails, you'll see a button on the right side of the orange bar: Copy error messages. Click that button.
- Open a forum reply here by clicking the Reply button.
- Click the
</>icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
- Press Ctrl+V. This will paste the compilation output into the code block.
- Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the Reply button to post the output.