The key question is, do you know where they're coming into the attic? You can use cheap off the shelf repellant products to move them out, but you need to then block up the hole where they're coming in.
Bat repellent.
$9 at Amazon
https://www.amazon.com/Bonide-Products-876-4-Pack-Repellent/dp/B001H1GRQC