What does the prohibition of ex post facto laws prevent the government from doing?

(1 point)
trying and convicting a person when she is not present
passing a law today and punishing someone for her actions prior to its passage
restricting the rights of handgun ownership
holding a person without trial or explanation

The prohibition of ex post facto laws prevents the government from passing a law today and punishing someone for their actions prior to its passage.