What is wrong with my basil plant

I just got it a week ago. Watered it twice like it says. It's In the window. I also noticed knats on it today??