Deciding to fight for good in AQWorlds is a straightforward process once you know where to go on the map.
Open the map and look at the side panel listing major locations. Choose Swordhaven, then find the castle and head up the stairs into the first room you see. There you will find a king, and interacting with his dialogue options will eventually lead you to the choice to join the good side.
If you are already evil, you will need to pay 100,000 coins to switch sides. And if you have not picked a side yet, head to Mobius on the map and speak with the blue character you first encounter to begin your alignment.