Erythromycin is available in the form of tablets.
Erythromycin can be taken on an empty stomach (or half an hour before meals) for better absorption. However, if it upsets your stomach, you should take it with some food.
For effective treatment, you should complete the full course of medication prescribed even though there are signs of improvement.