Trading an Anorith for a Lileep on a Pokémon trading community works like any other fair swap: agree on the terms in a private sale thread, confirm you both have the Pokémon available, and complete the exchange in-game.
Post your offer with exactly what you have and what you want, and you will get replies quickly, since both are common fossil Pokémon that plenty of collectors need for dex completion. Keep the trade inside the site's system so there is a record if something goes wrong, and never hand over your account password to complete a deal.