Depending on who is your employer you may or may not need to pay for your airfare back .. but after all this is why probation exists

Check what your offer or contract says

"The best way to predict the future is to create it".