Antibiotics are the main treatment for impetigo. If you have only a few affected spots that don't go deeply into your skin, you may be given an antibiotic cream or ointment. You apply it to the affected areas of your skin.
If you have a more severe infection, you'll likely need to take an antibiotic by mouth. Your doctor will choose an antibiotic based on the type of bacteria that caused your impetigo. Take your antibiotics as directed. Do not stop taking them just because you feel better. You need to take the full course of antibiotics.
Your doctor may also give you instructions about cleaning the affected areas with soap and water several times a day. You'll also need to wash your hands often. This is to help prevent spreading the infection to others. You may also need to cover the affected areas. This can help prevent spreading it to other parts of your body and to other people.
Often the infection will go away in a week or so with the correct treatment. Only rarely does the infection leave scars. Getting treatment quickly also reduces the chances of serious problems.
If you get repeated bouts of impetigo, your doctor may need to check you for a skin problem that makes it hard for you to fully fight the infection.