As Chris says if you try and use a filter, then this will effect the whole shot so you will end up with a colour cast over the whole photo, which is very unattractive.
As the guy's say its a matter of being around at the right time. At the moment Sunrise is approx 05.39 and sunset 21.23. Now you have to be on site before hand to set up so assuming you have got a location in mind (and i recommend that the first step in your quest is to find a location, sort out how you get there, how long from parking up to walking to the location. bearing in mind it might be in semi darkness. Make sure you know where the sun is going to rise and work out a rough composition, in the daylight!)
At sunrise the light tends to be more golden, however you can get red if it is preceding bad weather. Sunset same applies as above really, you need to be on site possibly an hour before unless you know the location well. Sometimes its much better to shoot without the sun in the frame but using the light it is creating. If sunset shooting DONT make the mistake of packing up too early ie as soon as the sun slips below the horizon more often than not the best colours are about 20 minutes or more after sunset and don't forget to look behind you, refraction can turn the clouds red opposite the sunset.
You can do this in Post Production but you need good knowledge of processing to make it look convincing.
I have studied sunsets for a fair while trying to predict when your going to get one.... its almost impossible .... there is an App i'm told but how good it is i have no idea...
Good Luck
PS One reason i say recce your location beforehand is because if you happen to want the sun in your shot, it may well be that the horizon is elevated where you are, in other words if there is a hill in your field of view, then the sun will vanish behind the hill (or other obstruction) earlier than the listed sunset time (obviously).