Up button not working

After a swim last week I was unable to tell the time on my Garmin as it was contrantly scrolling through menus unprompted.  This continued for about 48 hour before stopping.  After this time the UP button on the left hand side has stopped working.  Looking for some advice.  Thanks