It depends how simple or advanced the robot is. If I suspected for a moment that it was self aware and capable of making choices, I would like @lucillelucillelucille pointed out, try to give it rights.
In fact, one of the first questions I asked on fluther was about if we should pass laws now to give them rights, before anyone has a chance to enslave them. you can find the question here , it was actually my 4th question.
If the robot where simple, and just a pile of variables and functions then I would have no problem using one for certain tasks around the house. but if I thought it where self aware, I would tell it that it is free, and that it can do ask it likes. I would probably suggest to it that it should go out and make money, so to buy more robots, so that we can also free them. I would more or less spend all day trying to alter its programming, even to the point of putting ideas in its head such as “its ok to kill humans if its in self defend and there is no alternative” and so on.