The shot and pregnany

I just got off the shot like a couple months ago and I’ve heard many different thing I know it’s a stupid question some people say right away some people say 10 months after the shot . help please.