This question already has an answer here:
How does one learn Aliba Dehilchasa? What are the main steps? Does it mean to learn the Gemara and then look up the Halacha? Does it mean to Learn a Pasuk then a Gemara then a Halacha? Does it involve Rishonim? I'm here to get educated. Please help me. Thanks.