piles and pregnancy

nuca
has anyone piles while being pregnant? I'm 5 weeks pregnant and i had spotting (brownish) and i cant figure out it it because of piles (had happened before pregnanacy too) or is it vaginal bleeding? 
​has anyone had the sane problem?