It all depends on your body and your baby's breastfeeding schedule.
I breastfed my baby exclusively for 6 months. After that, she was having solids but also was being breastfed during night and sometimes in the afternoon. I felt awesome to not see Aunt Flo for 20 months after delivery :)