Space or no space ?

I’m going through a lot right now and I’m in a relationship that I’ve been in for a couple years. Though partners can help you get through things im starting to feel like in the midst if it I’m not being a good partner nor am I able to right now. Should I just explain what’s going on so they can understand or should I say I need space until I get things in order ?