Help ladies I need advice!

I need help! What are some ways I can create space and emotionally detach in a relationship?

I feel I’ve gotten too attached and need to step back. Thx I really appreciate your advice