I have a swollen lymph node in my groin

I was prescribed Clindamycin 300Mg because I have a swollen lymph node in my groin area? Would that work ?