Which test?

I have been doing some research into sleep quality. I have two groups of people, labelled as good and bad. Each person has filled in Using the Sleep Disturbance Questionnaire 3 times over the course of two weeks and the questionnaire has been graded as a number.

I'm needing to compare the sleep quality between the groups of people as well as within the groups at different times over the 3 questionnaires.

This is where I am confusing myself. Am I right in thinking I need to use an Anova test to compare across the groups? Also I am havin trouble inputting the data into SPSS to conduct the test as I have never used the software before and this is the only software allowed by my new university.

Any help would be greatly appreciated