boat motor problems

my boat is a 50 hp evinrude and it idles fine but when i give it gas it will shut off

Change your engine, or your mechanic.