Lookup filed filter

Lookup filed filter

I want to create new module and linked it with deals module but i need to filter the deals depending on the deal stage  how can i do this