Keyboard and Mouse Pad keep Disconnecting

So I’ve had my framework 16 laptop for about 3 weeks now and I keep having the same problem where every once and a while my keyboard and mouse pad will disconnect and reconnect whether I be typing on the keyboard or tapping the mouse pad. Remounting the keyboard and mouse pad and pressing down on the ribbon cable makes the disconnecting stop but I need a more permanent solution because this happens to me everyday.