Raise it until it gets to at least 1.5 stars of IQ. To get it to this much, try feeding it Orange Gummi's. If you have Time, you can find them here : Mt. Bristle/Waterfall Cave/Apple Woods/Craggy Coast/Mt. Horn/Foggy Forest/Steam Cave/Amp Plains/Marine Resort
If you have Darkness, this could be a little harder : ZIN B31-74/Zero Isle East/SIW/Marine Resort Shop/ZIN B6-57 Shop
Once you have raised its IQ, find a Sun Ribbon and take it to Luminous Springs. Then it can evolve.
If you just want a Lucario, you can find one at Lost Wilderness B11F-B17F and teach it the moves you want. I hope this was the answer you were looking for