You need a transit visa if you are air-transiting via Ghana airports to another country or to your own homeland