It depends which country you are in.
Firstly check if there are any STR regulations in the area you want to buy in.
check with a mortgage broker as to what mortgage you will need
do a profit and loss budget to identify likely costs and likely income to see how profitable you are likely to be
you can hire a local management company to manage things on the ground
@Justin1955