How can I compare two odds ratios extracted from a longitudinal study?

How can I compare two odds ratios extracted from a longitudinal study?