Help needed

Lynsey

Hi I am 8 weeks pp and got my period at 6 weeks pp. it finished 7 days later but every since I have had brown spotting everyday. Only a small bit on a liner or when I wipe. Also found out today I have a UTI could it be down to that or just my body getting back to normal?