You can't. All Pokemon have a specific gender ratio.
You can check on sites like Bulbapedia or the DB itself. On Bulbapedia they have the Gender Ratio of a Pokemon there.
Source: Bulbapedia