You can tell depending on the kind of pain that you are feeling. You can also tell if it is not working normally and if it has a strange odor/ color. To confirm this, you will need to go and see a doctor. Explain what is happening and why you think it is an infection. You should not tell your mom, unless you are absolutely sure.