Help trying to have a baby

I was on the pill for about 4/5 months on and off now I want to get pregnant if I can’t do you think some fertility pills would help ?