Extension of 2 way anova?

What test is appropriate when you have two categorical variables: gender (F/M) and drug (A/B/C/D/E), and one continuous variable: pressure. I ran a 2 way anova but the output of the 2 way anova is only comparing the 5 drugs within the same gender. I would want into all the possible comparisons e.g., is the difference in pressure different in M vs. F for drug A and so on.