Moderate bleeding at 4-5 weeks pregnant.

I started out spotting but now it is picking up a little bit. I did have sex with my SO this morning and it was uncomfortable and a little painful. So I thought it was just that. But now I am concerned I might be miscarrying. What do you think?