There are a number of physical formats you can consider when buying gold:
As a general rule, you should look at buying legal tender gold coins wherever possible. This will almost certainly include less overhead and premium than other formats, and be closer to the true spot price of gold.
Purchasing rare gold coins should be avoided unless you really know what you're doing. Some subjective measures of value are easy to misjudge, and may result in you getting taken advantage of.
Buying gold on credit or speculating on the future price can lead to getting yourself in a significant financial jam.
Instead, put some money to the side that you're sure you're not going to need in a short time horizon, and use that to invest.
It's important to comply with the law when it comes to buying gold, and knowing what they are goes a long way.
Under a certain dollar amount, there's no need to declare (which may be attractive to some), but once you hit a threshold you will need to (and should) declare your holdings.
Governments around the world have seized noble metals from time to time, so keeping your entire stash locally could be a bad idea depending on where you live.
Safe jurisdictions like Switzerland should be considered when you get to the point of holding a significant (tens of thousands of dollars worth generally) amount.