Why is my Dog Still Itchy After I Applied Frontline?

My dog is in great distress either from fleas or allergies or both or something else. She is constantly biting at herself. What should I…