Can after childbirth make your period come and go?

Meagan

Ever since I had my son July 14,2017. My period comes off and on. Sometimes it comes two months then not come the next two months. I also been getting bladder spasms which my doctor said it was normal to have bladder spasms after childbirth but I also have interstitial cystitis. When I do start my period. I bleed only for 5 or 6 days which is normal for me.