How to Replace my Atmega328p-pu in arduino uno r3 board

hi there

can you please let me know how to replace my new atmega328p-pu in arduino uno board what is the technical procedure and software change ?

You have to upload the bootloader into new ATmega or to buy one with the bootloader already installed. Then just replace it in socket and go.
You need some kind of programmer for the bootloader uploading. Your UNO R3 (if it is still working) also can do this job - search for 'Arduino as ISP' here on this web. All is explained.

EDIT:
Nick Gammon's tutorials also could help understand the bootloading process. Similar as previous but with more details and many people prefer this:

Steps:

  1. Build simple circuit on the breadboard with a new ATmega.
  2. Upload Arduino as ISP sketch into UNO.
  3. Connect wires for ISP.
  4. Upload the bootloader.
  5. New ATmega should be ready to go. Just replace the chip in the board.

And welcome to the forum.