Hi, You need to look at your diet and lifestyle, if you are overweight you should try to get it under control, alcohol is a trigger, certain foods, dehydration also.
You can get allopurinol tablets also called zyloric which you take once a day for always, these keep your uric acid blood levels under control but even then you can still get an attack. An acute attack can be treated with an anti inflammatory injection usually or anti inflammatory tablets.
Once you have it, you will probably have recurrences im afraid but with a proper diet and healthy lifestyle you can keep it well under control and will not see too many attacks hopefully.
Hope this helps!