Ryoga is the Eternal Lost Boy. This is not an exaggeration. Ryoga has a complete inability to follow directions of any kind and even maps can't help him. His parents get lost as often as he does and most of his childhood consisted of wandering around by himself. In this way, he managed to learn martial arts and gain strength and independence.
His story really starts when he was in junior high , he just couldn't find it half the time. At lunchtime, when the cooks would toss out the last bread of the day the kids would fight over it. Ryoga would use his skill to grab it for himself, until the day he met Ranma.
One day, Ryoga was jumping up for the last curry bread of the day and Ranma jumped off the back of his head and took the bread himself. This in itself wouldn't have been so bad if not for the fact that every day after that Ranma would steal the last bread just before Ryoga could get it.
Fed up with being a jumping post, he challenged Ranma to a duel in the empty lot behind his house. Unfortunately he got lossed and didn't show up on time. Ranma waited 3 days for his him to show up before he had to leave with his father to go to China.
Ryoga showed up on the fourth day and after seeing that Ranma wasn't there, he became so enraged that he chased after Ranma all the way to China where he once again got lost. China is a big place but he finally ended up at Jusenkyo where he caught up with Ranma just right after he had received his curse. Ryouga was also accidentally knocked into a cursed spring by an angry Ranma-chan who was furious at his father for his curse.
Ryouga's hatred towards Ranma grew as he follows him to Nerima. After attacking Ranma a few times its discovered that Ryoga had fallen into the Spring of Drowned Black Piglet. Ranma, ashamed of what he had done, promises to keep this curse a secret.
What he didn't predict was that Akane would decide to keep this piglet as a pet. She even named him P-chan. As time goes Ryoga beings to fall in love with her and Ranma is helpless to do anything.
When Ryoga isn't lost somewhere in Japan or posing as Akane's pet, he is constantly attacking Ranma for ruining his life or trying to beat him up for being mean to Akane.