Mostly it's practice practice pratice... Learn your note on the fret board.. What chords go together..
I would go thru the fundamental 1 and 2 and relearn what you thought you knew.. Even veteran player here have found out the had learned bad habits..
Memory will come in time.. You have to train your finger to automaticly go where they are supposed to..
Good Luck
Gordon