When is it okay?

When is it okay to take a break from a marriage to try to make it work? How long do we keep trying before a break makes sense?

I’m thinking I need this for my marriage. It’s not going well at all and I need me time. I don’t want anyone else but I need time to heal.

How do I bring up this topic to my husband?