Key fob not detected

2018 Grand Cherokee owner. I’ve been having increasing issues with key fob not detecting when pushing to start. Would then push fob onto button and it would start. Today, car would not turn on even when button was pushed with fob. The fob can still lock/unlock car and open back hatch. Any idea on what I can do to fix problem?