J just had 4 molars come through, complete with nw's so I feel your pain! It lasted about a week then he settled down.
There isnt an awful lot you can do when they're in pain other than medicate and get them back to sleep asap to avoid the build-up of OT. What I did was give him neurofen at bedtime, then when he woke in the early hours i'd put Anbesol on his gums straight away (a teething liquid, you can used gel or suchlike), then gave him a dose of Calpol and a drink of water from his sippy if he wanted it, then he would go back to sleep. I found if I didn't act immediately he would get OT very quick and be awake for hours
When the teething has passed you can then use wi/wo if the nw's become habit etc, although that didn't happen here thankfully.
Moving this to NW's btw
HTH x