Hello,
you can make FastEthernet0/1 switchport and configure it as trunk. For example:
vlan 10
exit
vlan20
exit
interface FastEthernet0/1
switchport
switchport trunk encapsulation dot1q
swithcport mode trunk
After that, in order to be able to route traffic from one vlan to another, you need to create Swith virtual interfaces (SVI). For example:
interface vlan 10
ip address 192.168.10.1 255.255.255.0
interface vlan 20
ip address 192.168.20.1 255.255.255.0
In this case, SVIs will act as subinterfaces on router, so you can use them as default gateways for LANs.
FastEthernet 0/1 in mode trunk will get a possibility to accept traffic from all configured vlans, ussing 802.1Q tags.
For more information about SVIs, please, see the following link:
https://learningnetwork.cisco.com/thread/62241