What is it that you want to archive? For loops can usually (and should) be avoided, since there are better constructs.
In your example, it looks like i and j always have the same value, so one of them is redunant. If this is not the intention, but you want all pairs of combinations,
then you can use Do:
Do[
code
,{i,1,3},{j,1,2}];