Make a hole in pan (plastic or aluminum) about one foot length and six inches width. Push pan into the sloping downwards. Coat the bottom of the pan with sticky materials. Check the pans regularly to make sure that the baits are sticky enough to trap the ants.
Barriers prevent ants from attacking the sown seeds and seedlings that are grown in free standing seedbeds
Source: Skill Development of Farmers for Production of IPM inputs in IPM Seva Kendra