can I get an STI?

Now I don't know if this is a stupid question and I feel like it is... but I have only had one sexual partner had anal with him can either of us get an sti?