You should contact your local health agency. I'm not familiar with the laws in your state, unfortunately. I know here, you have to have specific kitchen spaced zoned as commercial, to sell any homemade food goods. (Meaning, this can't be the kitchen in your home, that you cook your meals at.) The kitchen must be inspected and licensed. Your food has to be tested for shelf life. There are food regulation and labeling laws to follow. You will probably need a business license and tax number. I'm not sure if you must charge sales tax on your goods, or not. Of course, it could be easier in California.
You *could* probably sell your items at craft fairs and such without doing anything official. However, if you're reported, or someone gets sick...you're in big trouble!! Anyway, start with your local business licensing and health department. You can google and find out what California requires.