Sex pain


Me and my boyfriend have been having sex for 10 months now and we use to do fingering and different positions of sex and now for a few months already its been painful in certain positions and everytime he puts his finger in me it hurts. Most sex positions hurt and we have to be very slow and careful or it will hurt worse. It never hurts when we are not having sex. Only during sex and it never hurt like this the first several months of the relationship. In the positions it doesnt hurt it still feels good and i still do get turned on but idk what could be wrong. Its not the type of pain that it hurts when he goes to deep. Any ideas or advice?