hi there I have a question.

just recently i was shaving and I accidently cut over a razor bump and now it has turned in to a sore and really stings at times, and to make thng worse my period has come... will this cause an infection?