Congratulations! The good news is that the P323 is a well-built boat. It's likely that, even after a long layup, many of the parts will come to life after cleaning/servicing/using - so do not be dispirited!
Without a better idea of your experience level, or the condition of the boat, it is difficult to give good advice. But here are a few thoughts.
You are about to get a key item of sailing equipment, which every regular sailor I know has, but people don't always talk about: The List.
Yep, a long list of everything you need to do, from repairs, to maintenance, to upgrades.
When you have the list, prioritise! You priorities will vary. Typically people order in (1) make her seaworthy, (2) make her safe, (3) make her comfortable.
If you have not already done so, you may want to consider getting a survey. A competent surveyor can help you get a head start on what needs to be done, and suggest what order to do them in. After that, just start settling in to the work - post questions here, read widely, and stroke your boat regularly :-)
(BTW, there are a number of 323s in the Bay Area, so track us down if you need help!)