Help please

Yesterday I had a brown discharge in the morning then later in the afternoon I had very light blood then at night It got a little darker thought it was my period then today it was light again now it's done. What could it be?