How to get 8 month old to sleep

He's teething really bad and has 5 teeth coming in! He wakes up whining most the night but I do have to feed him once or twice. I'm exhausted and his naps are awful too. Like 30 minutes long. PLEASE HELP it's been 3 weeks