Loving support. Provide loving support for your baby while teething. Treat the symptoms and keep your baby as comfortable as possible. Remind yourself that you most likely went through the same process and made it through.
Let them chew. Chewing on something cold and firm is helpful. One idea is to give them a damp washcloth that as been frozen in the freezer to chew on. Commercial teeth rings that can be frozen are available as well. Teething is a normal process. I would avoid medication like painkillers unless absolutely necessary. Most babies really don't need them.