Mid cycle Spotting

So I had mid cycle spotting which was brownish black and then I got my period and that ended I still hav the spotting idk what to dooo is there somthing wrong helpp