Does "afanarse con algo" mean to get angry about something ("afanarse" = "enfadarse"?) or to make a big effort with something ("afanarse" = "hacer un gran esfuerzo"?) ... ?
Maybe if you give a bit more context I can think of the right English phrase.