painful sex

so me and my boyfriend have been having sex for a while now and recently I have been feeling this sharp jabbing pain during certain times while we’re having sex. it used to be just in certain positions but now it happens in any position and every time we have sex. is it something I should be worried about?