This depends on the country you're in and the laws they have regarding cryptocurrency. Depending on this we can determine what would be a viable option to buy bitcoins from. In general there are a lot of crypto exchanges that you can choose from to buy bitcoins like, binance, coinbene, kraken etc choose whichever caters to your needs.