To own a pet dragon in RuneScape, you'll need to reach 99 Summoning. Once you hit that level, you can obtain a Dragon Egg and place it in the incubator to hatch your very own dragon companion.
Wild dragons, on the other hand, are tough foes. You'll want a high combat level and, crucially, an Anti-Fire Shield to protect against their flames. Anti-Fire Potions also help, though they require a high Herblore level to make.
There are many dragon varieties. Green dragons are the easiest and one of the best ways to make money (you can earn around a million in roughly three hours), and baby dragons are relatively easy as well. Start with the simpler ones as you build up your strength.