I presume this is a genuine new install of Win 8.1 Normal process is to go online, cable\ADSL is best and do an auto Activate. Doesn't work too well over WiFi\Satellite connections I have found.
Type 'Activate' in the search box and follow the instructions. Hopefully it take care of itself.
Did I mention I HATE Windows 8 ?