In a perfect world, you use both brakes. But if you haven't been trained how to do it right, you could easily do more damage than good.
Learn it and do it and you'll be safer on the streets.
On the track, you still use both brakes but the technique is radically different and very few people can do it just right. Be careful.
:-)
--Wag--