As you have experienced, it can create a great deal of stress and embarrassment. Since it is usually mild, we attempt to reassure boys that it's normal and nothing to worry about. In normal teenage gynecomastia, the only proven treatment is patience. If you are overweight, discuss weight loss with your doctor, including a healthy diet and excercise. If the enlargement is particularly apparent, persistent, or causing serious emotional problems for you, it would be worthwhile being evaluated by a physician. It is rare that it would persist or be so large as to warrant surgery. There are also some rare diseases associated with gynecomastia, but there would be other symptoms or findings upon physical examination that your pediatrician would be able to identify.
Try and relax! Be reassured that it's common, usually temporary, and will go away on its own with time.