The major factor that determines the weight of an object is the force of gravity. In other to change the weight of an object, you can just change the position to another place where the force of gravity is different.
For an object on the planet earth, it would keep having the same weight on relatively every location on the earth. For you to successfully change the weight of this object, just take it to another place outside the earth. Since the force of gravity that is acting on it would be different, the weight of the object too would change.
One important thing that you should understand is the difference between mass and weight. It does not matter where an object is located, the mass of the object would remain the same, whether earth, moon, or outer space. Apart from the mass and the planet, another factor that matters in determining the weight of an object is its distance from the center of the planet.