Oh dear Lilly - we'll have to toughen you up a bit
The ants probably adopted your compost bin because it was nice and dry in there and they thought they'd be undisturbed
Just turning the compost and damping it down a bit would probably have made them move out - but they're not doing any harm in there anyway. They were probably keeping it aerated which helps the composting process.
Anyway, what to do for now? Is the compost made - is it crumbly and lovely and ready to spread on your garden? If so, then mix it all about and use it as you'd intended to.
If it's not yet composted, then mix it all about and continue adding composting materials as normal. Turn it regularly and occasionally add a little of Bob Flowerdew's highly recommended recycled beer/cider .... or if that's not available recycled Chardonnay will do 