You can say the opposite of something you've said but you can't do the opposite of something you've done.