connection to remote PC

I cannot access my win 10 from my win 7 pc. I know the partner ID but I get the message it can't connect