There isn’t any specific answer to this question. It is totally dependent on your personal situation. However, it would be wise if you considered some of the factors mentioned below.
Amount of money you have to invest
Maintaining diversification of your investment portfolio
Time horizon of investment