Heat the mustard seeds and fennel in a dry pan until they become aromatic, this takes about 3 minutes, make sure they dont burn. Mix the mustard with the vinegar,add salt and pepper. Chop the onion finely, add to the mustard, add oil then mix well and set aside for 15 minutes.