No! Never cook a good steak in garlic. To cook a steak well the pan has to be searing hot (well above the smoke point of butter, and to the point where it would incinerate the garlic - some chefs suggest using ground-nut oil as this has a much higher smoke point than many others), lightly sprinkle each side of the steak with coarse-ground salt and pepper and put to the pan for 1-2 mins on each side (or longer of you want it well done).
Once you've cooked it, and allowed it to rest, THEN put a knob of garlic butter over the top when you server it. This is how the Belgians eat steak - and they know a thing or two about the subject.