I just bought a cannon rebel t6, I’m new to photography and I’m confused as to how to know what size filter or pedal cover to buy? [duplicate]

This question already has an answer here:

  • How do I find the right size of filters for a lens? 6 answers

I know it sounds like a vacuous question, however I have not been able to find info on this topic. Sizing of filter and lenses. I bought some filters for my camera and they didn’t fit. Camera sets 55mm so I bought 55mm. Wrong!. Any help out there?