It's sort of trial and error at this age because you can't talk or reason with them, they're just little bundles (smile). You want to do what is best for him, and helping him form good sleep habits is a start. He doesn't yet understand what's best for him, and will cry if he doesn't get what he wants. Your goal is to help him learn to sleep and fall asleep alone. There are a few different things you can try, make sure the one you choose is something you're comfortable with, and make sure that once you start an approach, that you stick to it.
For starters, don't let him sleep too much during the day, and hour or so twice a day right now is good, but if you let him get all of his sleep during the day, he's going to be a little night owl. Help him learn to settle down and comfort himself. I don't like to let them "cry it out" per say, but don't jump at his first whimper either.
Wait a few minutes to see if he's really upset and awake, and then go in and reassure and comfort him without removing him from the crib. Instead, soothe and pat him with your hand and talk quietly to him. Do not turn on the lights or make excessive noise. At first, go every few minutes, but eventually call to him from outside of the room.
It's a good idea to create a calm, supportive bedtime ritual and environment, including a bedtime story, a special night light or lamp, princess sheets, a bath, a favorite teddy or bunny, prayers, songs and so on.
If you stick to it, and be patient, eventually he will fall into the routine and start sleeping longer.
Other options may include talking to the pediatrician about the teething. Making sure he isn't waking up because he's hungry, he may need more food. If he's not eating cereal yet, it may be time to start.
There's a great book you may want to look into called On Becoming Babywise.