Hi you need the original Rom from Sources like samobile. then you can use adb to get into the recovery. then you should simply flash the downloaded original Software (maybe try with odin). and next time before you install a beta you might inform about how you can reverse it if you don't like it