User Activity

My T7i has started to jump around when focusing.  At first it was quick to focus, but now when focusing it jumps back and forth and never focuses.  Is this a camera problem or lens problem?