After the fact. The Constitution prohibits the enactment of ex post facto laws. These are laws that permit conviction and punishment for a lawful act performed before the law was changed and the act made illegal.