To upgrade the CPU, the mainboard must be replaced -- depending on the CPU and GPU, you're looking at a cost well over $700 and that's before any labor charges for installation.  
I have a dell g15 5510 (the intel i5 10200h and gtx 1650 edition with 8gb rams) I was asking if I can change its processor or no
dell g15 5510