What is wrong with me?

Hey ladies, i am currently 19 weeks pregnant with my second and i have become very delusional in the last few weeks like i will be talking and forget what i am talking about, or i will be doing something and just walk away and do something else then come back and think wtf was i doing here. I am forgetting how to spell things and im becoming very worried i starting to feel really stupid and down about myself. My partner has also noticed and asked me what the f*** was wrong with me but all i could say was idk and started crying

I'm just wondering if this has happened to anyone else? Will it get better after the baby is born? Or will it get worse? I'm very scared.. ive tried talking to my midwife but she just brushed it off and said "baby brain" but its worse then baby brain... im not on any medication im not even on my pregnancy vitamins as they were giving me worse symptoms....