Delay when i click "tab" on jupyter notebook

when i click "tab "on jupyter notebook sometimes i notice a certain delay to auto-complete the code, wich makes a very unconfortabble expirience to use jupyter. Also, sometimes the “tab” doesnt even work. Is there a way of fixing it?

NOTE: my pc is good, so I don’t think the problem is due to it