Poor puppy i hope she gets better soon

Just curiously, can you give dogs laxatives or castor oil to help move things along or would that possibly cause more damage? I love Labs but they really are dumb when it comes to food.