Prompt Engineering, RAG, and Fine-tuning: Benefits and When to Use