During my PPL course, I was taught the following procedure for a short field takeoff. (Cessna 150F built in France).
Flap 10 deg, brakes on, full throttle.
Release brakes, rotate at 42 mph, climb at 50 mph until clear of obstructions, then lower the nose, let speed build up to 65 mph and retract flaps.
It's frightening the first time you do it, but a necessary part of training and you soon get used to it.