That can be a symptom of cognitive disorganization which is commonly experienced in schizotypal disorder. But proper diagnosis is required. Such symptoms may be a sign of progression into psychosis, or in some cases of anxiety, social anxiety and dissociative disorder, or ADHD too. So several possibilities are there. If you are experiencing other difficulties like inability to work or study, poor motivation, difficulty in concentration, low mood, repetitive negative thinking etc. then Plz consult a clinical psychologist or a psychiatrist.
Next Steps
consult a professional
Health Tips
the problem may not be worrisome, so can be dealt easily.