When it comes to painting over wallpaper glue, using the right primer is crucial for a smooth finish. Opt for a high-quality, oil-based primer to effectively seal the glue. This will prevent the sticky residue from bleeding through and provide a strong bonding surface for your paint. Ensure to apply it evenly for the best results.