Tank parameters and a photo always help with these sort of things.
Almost all softies will go into a funk if not in the right place or getting the right flow, they also will just go into a shed process too and can take a few days to get out of it but not 3 weeks.
My guess is there is something else wrong, not enough flow perhaps?