Baby shower?

How far in advance would you send invites to a baby shower? This is my firs baby shower. I was wondering if I should do it a month before, a few weeks, just let me know your opinion