I have problem in uploading. The code is correct but it tells done uploading but not uploaded

Pls solve my problem

Which version of the IDE? There is a bug in IDE 2.x that would result in that but you posted in the IDE 1.x category on the forum.

Please enable verbose output during upload and verify code after upload; disable verbose output during compilation. All this under file/preferences.

Upload a sketch and post the results here using code tags (see https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#use-code-tags).

I have problem in uploading. The code is correct but it tells done uploading but not uploaded

How do you determine the code is not uploaded? Explain what you observe and what you expect.