For starters take off the back cover and make sure there's no dirt in there .
might just need to reseat the cover. But definitely check if the switch works without the cover on.
I got a bad phone from Nokia once and they promptly replaced it. That's why I'm a loyal customer