Hi, your boyfriend is not the best advisor, as he is not a disinterested party. He wants to have you finger yourself so you will be amenable to having sex, and when his self-interest gets in there, his advice does not have your good in mind. Have sex when you feel like it for your own reasons, not when your boyfriend feels like it is time.
Anyway, no you did not give yourself any kind of sexually transmitted infection. If you are bleeding, it is possible that you scratched yourself, or bothered your hymen (I would be a little surprised if you tore it, but it's possible if it was thin in the first place). Or, maybe you're bleeding because your period is here.
Any time you put your fingers in your vagina, you are introducing the kind of bacteria that fingers get (which is a lot) into a place that is perfect and clean. The vagina is a self-cleaning organ, and if left alone stays in a good balance. If you decide to put something in there, always, always be sure it is clean. Wash your hands well, and if you someday use a device, keep it perfectly clean. Don't douche, don't insert creams or gels (unless told to by a doctor).
Take care of yourself, don't believe everything your boyfriend tells you to do, and stand up for your own right to your own sexual autonomy.
Sweetheart, there are no medical risks if your hymen tissue is broken. It happens to women all the time, and not necessarily from sexual things. If you live in a very strict society with restrictive rules about women, it might be that your hymen would be taken as proof of your virginity, and you might get into trouble with patriarchial men for having a broken hymen. But (depending on where you live), if you were to be asked about this in a challenging way by some male, you could explain that you did it yourself (if your hymen really is broken and the bleeding was not just from you scratching yourself, or from your period). How old are you, and do you live in a society with extremely strict rules about women's bodies?