Not usually. Bangkok has no malaria risk and antimalarial medication is not needed for the city or surrounding areas. The same applies to Phuket, Koh Samui, Koh Phangan, Koh Tao, and most other popular tourist destinations.