Accept the loss and look at whatever positives there might be. As cliche and stupid as it’s gonna sound, there’s a reason for this. Maybe the school wouldn’t have been a right fit down the line for a graduate degree. Maybe you’re going to need the spare time for something unexpected coming up.
Reach out to people and don’t internalize the disappointment, but don’t give up. Wait a little while and apply for a different school. But don’t let this tear your completely apart.
Everything in its own time~