Problem uploading code .

how to fix this problem

Sketch uses 1092 bytes (3%) of program storage space.
Maximum is 32256 bytes .Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables . Maximum is 2048 bytes.

What problem?

It doesn’t look like problem.

@TheMemberFormerlyKnownAsAWOL
What happened to AWOL? Did you do something to him?

Budvar10:
@TheMemberFormerlyKnownAsAWOL
What happened to AWOL? Did you do something to him?

He resigned. No, not yet.

OK
...and welcome to the forum.

@spicihac32 just to elaborate on what was already said. This output:

spicihac32:

Sketch uses 1092 bytes (3%) of program storage space.

Maximum is 32256 bytes .Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables . Maximum is 2048 bytes.

Is simply some helpful information provide by the Arduino IDE that tells you the amount of memory used by your sketch on your Arduino board. It simply shows that the compilation was successful and doesn't indicate any problem at all. If you are having a problem with uploading then you will need to provide us with more information about that so we can help you. Otherwise, carry on!