If you take an action near your ball and cause it to move, you get a one-stroke penalty, unless your ball is on the putting green.