I need to reinstall my Grub to the good partition !

hello everyone, my latest upgrade i installed my grub in other partition than the partition system now i want to install it to my partition system.
how can i do it ? with which command ?
PS: I’m sorry for my bad English.