Bleeding all month

So for the past month I’ve been bleeding non stop , it started off light and got heavier over time but not as heavy as a period. I went to the doctor and they said it was a uti and prescribed me medicine which i took but the issue never went away should i be worried ? What could this be ?