While I agree that socializing when in early sobriety can be done...have an escape plan.
Don't rely on others for a ride, and make sure you are ready with your replies to the questions..."Oh, just ONE, c'mon on, you don't have a problem. One won't hurt!" "What a killjoy! Just have one, come on." "Why aren't you drinking?"
I say I have to, "Meet someone," or, "I have plans later," when I'm getting tired of the drunks at parties - or even if I'm just ready to go. It's not a lie, and there isn't much arguing with this approach. I will meet someone someday, I do have plans. My plans may be to sit on the couch in my pajamas binge-watching Greys Anatomy, but they're plans!