1999 Mercury Cougar runs poorly when engine is warm

My 1999 Mercury Cougar runs great at cold start-up, but in runs bad once the engine is warm and will die unless I keep pumping the gas. Also, after the engine is warm, you have to flood it in order for it to start. How can I get this fixed?