I depends on how the surgery was done.
If you had a large incision
on your abdomen then you should not be lifting more than 10-15 pounds for several weeks. If you had it done through the vagina or laparoscopically (small incisions) you don't have to worry about lifting restrictions. I also suggest that nothing go in the vagina for 6 weeks. Talk to your doctor about the specific details.