How do you know when you’re done?

I got married about 3 1/2 months ago and I am thinking about getting a divorce. I know marriage isn’t easy at all but I am not 100% happy and I feel like something is off about the relationship. I know it might sound weird but it feels like it wasn’t the right time to get married and I feel like the only reason why we got married was for our daughter (that is now 7 months old). I think that a divorce is what would be best for both of us. But, I am scared that he will fight for custody of our daughter or won’t allow my daughter to live in my home state(Texas) with me. My family and support system is in Texas. 💔 . My husband is a good man but idk how he would react to this... any advice?