Welcome! Read the article on what to do with a new brick. Doing a thorough maintenance on the whole bike will reveal any additional work it may need.
While the bike runs now, if it has sat idle for any length of time it may need some additional work to offset the effects of gummy, broken down fuel on the rubber bits in the tank and the injectors. Remove the filler on the tank and have a good look around inside. If it's clean and shiny you are probably in good shape as far as the rubber bits in there. If not, one of the first things you need to address is cleaning all that crap out and probably replacing the fuel pump vibration damper. No matter what, replace all the fuel lines with the proper grade of ethanol resistant hose.
Check for any bubbling paint on the low points of the tank. That usually means corrosion that may cause fuel leaks.
Get a can of DeOxit contact cleaner and go through the entire bike cleaning EVERY electrical connector and switch. Be especially mindful of the four pin connector to the fuel tank. That connector causes a lot of problems with fuel pump operation. You might also want to clean the ignition switch which has also caused a lot of whack on these old bikes.