In the romantic comedy, Sandler and Brooklyn Decker's characters meet at a house party, and end up having sex on the beach later that night.
"Terrible idea, don't do it," Sandler told MTV News when asked whether he approved of his character's actions. "You got to hold it back.
"Block it and lock it!" the actor joked.
"I don't think it's a good idea," Sandler's co-star Jennifer Aniston agreed.
Just Go With It was released in cinemas this weekend and generally received negative critical reviews.