bladder infection

So past 2 days I've suddenly needed to go the toilet a lot more than usual.Peeing slightly hurts and only when I go it's only peeing a bit and a little blood barley anything tho, I've searched into it and a bladder infection may be what it is just wanted to see what anyone else has to say?