Infection?

So lately I've been experiencing pain right at the beginning of sex, but then after a while it goes away. Lately it's been burning to pee a little bit, but my boyfriend and I are very active so we do a lot of different things several time in one week so I thought it may be because of that. But then today, I discovered a very painful bump right where my leg meets my vagina, and my underwear falls right on it and rubs against it. Is it possible I could have a vaginal infection?? I ruled out an STI because my boyfriend and I have only been with each other. Please help!