Should I be worried if I'm feeling foggy I have depression I just feel out of it and can't think?

Recommend evaluation. Brain fog is not uncommon with depression. Other health conditions and medications can also result in brain fog. Would be interested to know if you are taking any medication for depression or other health conditions? To your question, yes, this warrants evaluation by a doctor not only for depression but other possible medical causes. Be well.