Government minister v local MP

MPs are elected to represent their constituents in Parliament but many are also given jobs as ministers in the government. What happens when the roles come into conflict?