My car is not responding to the key

Question

Hi my car is not opening the doors / response to the remote key hence I’m not able to assess whether the issue is from the battery or the key I tried to get the spare key but same no response!

What can I do ?