Sorry to hear that sad news.
You probably need to share the refusal notice asap with your immigration adviser in order to plan next steps.